Applanga App Localization Logo
  • Product
    Overview How it works Features Integrations
  • Resources
    Blog Whats New About Us Solutions Documentation FAQ
  • Pricing
  • Contact
  • See a Demo
  • Login
  • Try for free
  • DocumentationDocs
  • Supported File FormatsSupported Formats
  • i18next

i18next

i18next is a JavaScript translation library for websites and JavaScript apps.

Richard 
Written by Richard
Updated over a week ago

To localize a website i18next is using a custom JSON format that you can either import and export manually on the dashboard or you can automate your JavaScript translation process with the Applanga Localization CLI.

Website: https://www.i18next.com

File Extension
.json
CLI format key
i18next_json
CLI Supported
true
SDK Supported
false
String Description Supported
false
Pluralization Supported
true

Example:

{
  "empty_string_key": "",
  "with_description_key": "This key has a description in some file-formats.",
  "with_line_break_key": "This key has a line break\nin it.",
  "nested_key": {
    "level_one_a": {
      "level_two": "A deeply nested key."
    },
    "level_one_b": "A nested key."
  },
  "plural_key_1": "Plural key one",
  "plural_key_5": "Plural key other",
  "plural_key_0": "Plural key zero",
  "keyPluralMultipleEgArabic_one": "the plural form 1",
  "keyPluralMultipleEgArabic_many": "the plural form 4",
  "keyPluralMultipleEgArabic_other": "the plural form 5",
  "array_key": [
    "first entry",
    "second entry",
    "third entry"
  ],
  "simple_key": "Most basic translation."
}

Pluralization Support

It is important to note that only valid v3 and v4 plural syntax as described in i18next docs are supported for import. When strings are exported in the with i18next_json format selected, plural strings are exported in v4 syntax.

For example an imported file can have a plural string as "plural_key_5": "Plural key other" (v3) or "plural_key_other": "Plural key other" (v4). When the strings are exported the output would be "plural_key_other": "Plural key other" (v4).

Wrapped String Ids

During file imports sometimes some parts of string id's may be wrapped in quotes if they contain a . (dot). You can find more info on wrapped string Ids here.

Product Details
  • Overview
  • How it works
  • Features
  • Integrations
  • Demo
  • Pricing
  • App Localization
  • Android Localization
  • iOS Localization
  • Unity Localization
Information Hub
  • Blog
  • Whats New?
  • How-to?
  • Documentation
  • iOS Integration
  • Android Integration
  • Unity Integration
  • React Native
  • Flutter
  • Rest API
  • Supported File Formats
  • Command Line Interface
  • Solutions
  • FAQ
Company
  • Home
  • About Us
  • Contact
  • Jobs
  • Terms of Service
  • Privacy Policy
  • Imprint
From our Blog
  • • 2022 Release Notes - Vol 1
  • • How to use a custom SSO Provider (Microsoft Azure Active Directory)
  • • How to Add Screenshots from Design Files to App Strings
  • • How to use a custom SSO Provider (PingIdentity SSO)
  • • Applanga Webinar - Android SDK
  • • How to Use Applanga for Multi-Platform Localization
  • • Preparing for Localization
  • • 6 Ways to Clean Up Applanga Projects
  • • Applanga Webinar - Translation Review
Stay up to date
Undecided or News Hungry?
Subscribe to our newsletter to get
the latest updates on Applanga's development!
Subscribe

©  All rights reserved. Mbaas Development GmbH.

Thank you!

We have received your request and will get back to you asap!

Contact Us

Email successfully sent

Marketing Permissions

Mbaas Development GmbH will use the information you provide on this form to be in touch with you and to provide updates and marketing. Please let us know all the ways you would like to hear from us:

Email

You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at privacy@applanga.com. We will treat your information with respect. For more information about our privacy practices please visit our website. By clicking below, you agree that we may process your information in accordance with these terms.