Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 7d6a238

Browse files
author
Narciso Jaramillo
committed
Update src/nls/README.md
1 parent cacfef0 commit 7d6a238

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/nls/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@
22

33
1. Create a subfolder of the `nls` folder whose name is the language or locale you want to
44
create a translation for.
5-
65
* If you're creating a general translation for a language, just use its two-letter code
76
(e.g. `en`, `de`).
8-
97
* If you're creating a locale-specific translation for a particular country, add a hyphen
108
and the country code in lowercase (e.g. `en-ca`, `en-gb`).
11-
129
2. Add an entry for your translation to the `module.exports` object in `nls/strings.js`.
1310
(Eventually, we should remove this requirement and just scan the folder for available languages.)
14-
1511
3. Copy the root `strings.js` file into your subfolder and start translating!
1612

1713
Strings not specified in a given locale will fall back to the language for that locale, if any,

0 commit comments

Comments
 (0)