Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2297

Documentation for i18n API

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • None
    • None

      Hello.

      On the page "i18n API" I was expecting more guidance on how to use the i18n API. Or at least a mention of its limits as I have been pulling my hair out trying to google how to write common localization with it.

      Example 1: Pluralization:
      "No Blogs | One Blog | {num} Blogs"

      Example 2: Named Formatting:
      "Page {num} of {total}"

      As it stands I have not found any documentation on whether or not these are possible, so I'm assuming they're not. My suggestion is to add this functionality or at least make a note somewhere in the guide that this functionality is unavailable. 
      If you choose to implement these features, here's a fantastic example of documentation of this sort of thing: Vue i18n

        Acceptance criteria

              mdrapela Martin Drápela
              nlovas Nicole L
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: