i18n-sample | A sample of internationalization with Angular 2 RC | Learning library

 by   StephenFluin TypeScript Version: Current License: No License

kandi X-RAY | i18n-sample Summary

kandi X-RAY | i18n-sample Summary

i18n-sample is a TypeScript library typically used in Tutorial, Learning, Angular applications. i18n-sample has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

A sample of internationalization with Angular 2 RC 6
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              i18n-sample has a low active ecosystem.
              It has 39 star(s) with 7 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 7 open issues and 1 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of i18n-sample is current.

            kandi-Quality Quality

              i18n-sample has no bugs reported.

            kandi-Security Security

              i18n-sample has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              i18n-sample does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              i18n-sample releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.

            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-sample
            Get all kandi verified functions for this library.

            i18n-sample Key Features

            No Key Features are available at this moment for i18n-sample.

            i18n-sample Examples and Code Snippets

            No Code Snippets are available at this moment for i18n-sample.

            Community Discussions

            QUESTION

            Automatically create i18n directory for VSCode extension
            Asked 2019-Oct-08 at 23:58

            I am trying to understand the workflow presented in https://github.com/microsoft/vscode-extension-samples/tree/master/i18n-sample for localizing Visual Studio Code extensions.

            I cannot figure out how the i18n directory gets created to begin with, as well as how the set of string keys in that directory get maintained over time.

            There is one line in the README.md which says "You could have created this folder by hand, or you could have used the vscode-nls-dev tool to extract it."...how would one use vscode-nls-dev tool to extract it?

            What I Understand

            I understand that you can use vscode-nls, and wrap strings like this: localize("some.key", "My String") to pick up the localized version of that string at runtime.

            I am pretty sure I understand that vscode-nls-dev is used at build time to substitute the content of files in the i18n directory into the transpiled JavaScript code, as well as creating files like out/extension.nls.ja.json

            What is missing

            Surely it is not expected that: for every file.ts file in your project you create an i18n/lang/out/file.i18n.json for every lang you support...and then keep the set of keys in that file up to date manually with every string change.

            I am assuming that there is some process which automatically goes "are there any localize("key", "String") calls in file.ts for new keys not yet in file.i18n.json? If so, add those keys with some untranslated values". What is that process?

            ...

            ANSWER

            Answered 2019-Oct-08 at 23:58

            I have figured this out, referencing https://github.com/Microsoft/vscode-extension-samples/issues/74

            This is built to work if you use Transifex for your translator. At the bare minimum you need to use .xlf files as your translation file format.

            I think that this is best illustrated with an example, so lets say you wanted to get the sample project working after you had deleted the i18n folder

            • Step 1: Clone that project, and delete the i18n directory
            • Step 2: Modify the gulp file so that the compile function also generates nls metadata files in the out directory. Something like:

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

            QUESTION

            aurelia-i18n with aurelia-cli gives error plugin.load is not a function
            Asked 2018-Jan-08 at 20:40

            has anyone been able to successfully use aurelia-i18n with a project started using aurelia-cli written in TypeScript? I have tried a couple of projects following the instructions in the github project doco, but it comes up with an error in the browser when running it.

            ...

            ANSWER

            Answered 2017-Sep-04 at 08:52

            Thanks to @zewa666 for the help on gitter. It seems that altering aurelia_project/aurelia.json to set build.loader.plugins.stub to false fixed my problem.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install i18n-sample

            Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            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/StephenFluin/i18n-sample.git

          • CLI

            gh repo clone StephenFluin/i18n-sample

          • sshUrl

            git@github.com:StephenFluin/i18n-sample.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