I18N-Portable | Simple and cross platform internationalization/translations | Form library

 by   xleon C# Version: 1.0.1 License: MIT

kandi X-RAY | I18N-Portable Summary

kandi X-RAY | I18N-Portable Summary

I18N-Portable is a C# library typically used in User Interface, Form, Xamarin applications. I18N-Portable has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Simple and cross platform internationalization/translations for Xamarin and .NET
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              I18N-Portable has a low active ecosystem.
              It has 97 star(s) with 13 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 15 open issues and 33 have been closed. On average issues are closed in 134 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of I18N-Portable is 1.0.1

            kandi-Quality Quality

              I18N-Portable has 0 bugs and 0 code smells.

            kandi-Security Security

              I18N-Portable has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              I18N-Portable code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              I18N-Portable is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              I18N-Portable releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              I18N-Portable saves you 15 person hours of effort in developing the same functionality from scratch.
              It has 44 lines of code, 0 functions and 42 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of I18N-Portable
            Get all kandi verified functions for this library.

            I18N-Portable Key Features

            No Key Features are available at this moment for I18N-Portable.

            I18N-Portable Examples and Code Snippets

            No Code Snippets are available at this moment for I18N-Portable.

            Community Discussions

            Trending Discussions on I18N-Portable

            QUESTION

            Xamarin forms: I18n-portable casting error
            Asked 2017-Jul-27 at 13:31

            I'm working on a cross platform app using Xamarin forms in VS 2017, employing the I18n-portable NuGet-Package for internationalization (see http://xleon.net/localization/xamarin/pcl/share-locales/i18n/portable/dotnet/2017/02/09/easy-and-cross-platform-localization-for-xamarin-and-dotnet/). I got everything working so far, except for one thing.

            Unfortunately, I am stuck on the last part where - according to the package readme - I need to create a proxy object on the baseviewmodel. I just don't know what to do here and no documentation on the web seems to help me with that.

            What/where is the baseviewmodel?! Is it in App.xaml.cs of my example PCL solution? This is the code that the author of the package proposes to integrate:

            ...

            ANSWER

            Answered 2017-Jul-27 at 13:31

            For the BaseViewModel you will need to use an MVVM framework which is dependent on ViewModels. You then create a custom base class that your other view models inherit from which implements this. It is not something Xamarin hands you out of the box as MVVM is not a must when using Xamarin Forms and there are a number of MVVM frameworks out there.

            The error you're getting basically says that the call to I18N.Current returns an object of type II18N which is an interface that you're assigning to an explicit type. You could try changing it to:

            Source https://stackoverflow.com/questions/45351521

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install I18N-Portable

            Install it on your PCL and platform projects. From nuget package manager console:.
            In your PCL/Core project, create a directory called "Locales".
            Create a {languageCode}.txt file for each language you want to support. languageCode can be a two letter ISO code or a culture name like "en-US". See full list here.
            Set "Build Action" to "Embedded Resource" on the properties of each file

            Support

            The library ships with a single format reader/parser that is TextKvpReader. Any other reader will be isolated in a different nuget/plugin to keep the library as simple as possible.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/xleon/I18N-Portable.git

          • CLI

            gh repo clone xleon/I18N-Portable

          • sshUrl

            git@github.com:xleon/I18N-Portable.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link