icu-message-format-for-translators | Instructions for translators using the ICU Message Format | Internationalization library

 by   format-message HTML Version: Current License: No License

kandi X-RAY | icu-message-format-for-translators Summary

kandi X-RAY | icu-message-format-for-translators Summary

icu-message-format-for-translators is a HTML library typically used in Utilities, Internationalization applications. icu-message-format-for-translators has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Instructions for translators of format-message and other ICU Message Format based projects. The ICU Message Format is a great format for user-visible strings, and includes simple placeholders, number and date placeholders, and selecting among submessages for gender and plural arguments. The format is used in apis in C++, PHP, Java, and multiple JavaScript libraries. This repository is for a github page explaining the format for translators so that they can understand what parts get translated in a complex message. Any feedback or contributions are welcome.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              icu-message-format-for-translators has a low active ecosystem.
              It has 83 star(s) with 7 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 6 have been closed. On average issues are closed in 53 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of icu-message-format-for-translators is current.

            kandi-Quality Quality

              icu-message-format-for-translators has 0 bugs and 0 code smells.

            kandi-Security Security

              icu-message-format-for-translators has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              icu-message-format-for-translators code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              icu-message-format-for-translators 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

              icu-message-format-for-translators releases are not available. You will need to build from source code and install.
              It has 1065 lines of code, 0 functions and 13 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 icu-message-format-for-translators
            Get all kandi verified functions for this library.

            icu-message-format-for-translators Key Features

            No Key Features are available at this moment for icu-message-format-for-translators.

            icu-message-format-for-translators Examples and Code Snippets

            No Code Snippets are available at this moment for icu-message-format-for-translators.

            Community Discussions

            Trending Discussions on icu-message-format-for-translators

            QUESTION

            Why my nested plural ICU message does not work in react-intl FormattedMessage?
            Asked 2020-Jan-14 at 12:34

            I'm using react-intl and its tag.

            I want to have a structured message that will pick the correct plural variant based on provided values to allow translators to work with rules of their language, i.e., if they have a different variant for "one", "two", "many", items, etc. I did not want to have it hardcoded inside of the application business logic via switch statements that would use just English rules for "zero", "one", and "other".

            should produce I have some apples and some pears from the following source.

            For some reasons, it returns I have some apples, some pears, and some oranges

            ...

            ANSWER

            Answered 2020-Jan-14 at 12:34

            The issue is:

            English as a language doesn't have grammar specialized specifically for zero number of items.

            It is mainly singular or plural (on in some rare residual cases dual).

            The syntax which you are using is specifically for those languages where grammar is specialized specifically for zero number of items. (Examples are Arabic and Latvian)

            Read Here: https://formatjs.io/guides/message-syntax/#plural-format.
            Also, this article on wikipedia explains the same

            So, the approach won't work for English. Instead you need to use =0 (=value syntax) for matching quantity to zero for the solution to work.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install icu-message-format-for-translators

            You can download it from GitHub.

            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/format-message/icu-message-format-for-translators.git

          • CLI

            gh repo clone format-message/icu-message-format-for-translators

          • sshUrl

            git@github.com:format-message/icu-message-format-for-translators.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

            Explore Related Topics

            Consider Popular Internationalization Libraries

            formatjs

            by formatjs

            react-i18next

            by i18next

            version

            by sebastianbergmann

            globalize

            by globalizejs

            angular-translate

            by angular-translate

            Try Top Libraries by format-message

            format-message

            by format-messageJavaScript

            message-format-rb

            by format-messageRuby