Browse Source

Add rules for platform suffixes.

test/jme/compound-poc
Benoit Marty 2 years ago
parent
commit
8ffad2f5a9
  1. 8
      tools/localazy/README.md

8
tools/localazy/README.md

@ -6,6 +6,7 @@ Localazy is used to host the source strings and their translations.
* [Localazy project](#localazy-project) * [Localazy project](#localazy-project)
* [Key naming rules](#key-naming-rules) * [Key naming rules](#key-naming-rules)
* [Special suffixes](#special-suffixes)
* [CLI Installation](#cli-installation) * [CLI Installation](#cli-installation)
* [Download translations](#download-translations) * [Download translations](#download-translations)
* [Add translations to a specific module](#add-translations-to-a-specific-module) * [Add translations to a specific module](#add-translations-to-a-specific-module)
@ -31,6 +32,13 @@ For code clarity and in order to download strings to the correct module, here ar
*Note*: those rules applies for `strings` and for `plurals`. *Note*: those rules applies for `strings` and for `plurals`.
#### Special suffixes
- if a key is suffixed by `_ios`, it will not be imported in the Android project;
- if a key is suffixed by `_android`, it will not be imported in the iOS project.
So feel free to use those suffixes when necessary for instance when the string content is referring to something related to Android only, or iOS only.
## CLI Installation ## CLI Installation
To install the Localazy client, follow the instructions from [here](https://localazy.com/docs/cli/installation). To install the Localazy client, follow the instructions from [here](https://localazy.com/docs/cli/installation).

Loading…
Cancel
Save