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

Commit 78cad76

Browse files
committed
Merge pull request #8438 from tan9/nls-readme-update
nls readme.md update
2 parents 8b6e466 + f03c94d commit 78cad76

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

src/nls/README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
4. Copy the root `strings.js` file into your subfolder and start translating!
1313
5. Use the [UI walkthrough steps](https://github.com/adobe/brackets/wiki/Localization-Tests) to
1414
see strings in context.
15-
6. Add this comment ``/* Last translated for SHA_of_root_strings.js */`` at the end
16-
of your `strings.js` and replace `SHA_of_root_strings.js` with the actual SHA. You can
17-
copy the actual SHA in this [history page](https://github.com/adobe/brackets/commits/master/src/nls/root/strings.js)
15+
6. Add this comment ``/* Last translated for commit_SHA_of_root_strings.js */`` at the end
16+
of your `strings.js` and replace `commit_SHA_of_root_strings.js` with the actual SHA.
17+
You can copy the actual SHA in this [history page](https://github.com/adobe/brackets/commits/master/src/nls/root/strings.js)
1818
by hovering on the one you used for this translation and click on Copy SHA button.
1919
7. Edit this file and update the list of languages below!
2020

@@ -31,6 +31,9 @@ providing a ``urls.js`` file that points to a localized directory under the
3131
``samples`` folder at the root of the Brackets repository. See the French
3232
localization (`src/nls/fr/urls.js`) for an example.
3333

34+
It is also recommended to add this comment ``<!-- Last translated for commit_SHA_of_root_index.html -->``
35+
at the end of your `index.html` and replace `commit_SHA_of_root_index.html` with the actual SHA.
36+
3437

3538
# How to modify *existing* translations
3639

@@ -64,6 +67,7 @@ The following languages have been contributed by the Brackets community:
6467
* Galician (gl)
6568
* Croatian (hr)
6669
* Hungarian (hu)
70+
* Indonesia (id)
6771
* Italian (it)
6872
* Korean (ko)
6973
* Norwegian (nb)
@@ -78,7 +82,7 @@ The following languages have been contributed by the Brackets community:
7882
* Swedish (sv)
7983
* Turkish (tr)
8084
* Simplified Chinese (zh-cn)
81-
* Indonesia (id)
85+
* Traditional Chinese (zh-tw)
8286

8387
These translations _can be directly modified_ through our normal pull request
8488
process. Make sure that you also update the comment on the last line with the
@@ -106,8 +110,9 @@ You will be taken to a New File page where you:
106110

107111
1. Specify the file name as *language-id*/strings.js
108112
2. Paste in the contents of root/strings.js and edit strings for new language
109-
3. Add this comment `/* Last translated for SHA_of_root_strings.js */`
110-
at the end of your strings.js and replace `SHA_of_root_strings.js` with the actual SHA.
113+
3. Add this comment `/* Last translated for commit_SHA_of_root_strings.js */`
114+
at the end of your strings.js and replace `commit_SHA_of_root_strings.js` with the
115+
actual SHA.
111116
You can copy the actual SHA in this
112117
[history page](https://github.com/adobe/brackets/commits/master/src/nls/root/strings.js)
113118
by hovering on the one you used for this translation and click on Copy SHA button.
@@ -171,3 +176,5 @@ Some strings cannot be localized yet:
171176
* [Keyboard shortcuts](https://trello.com/c/4k2yalBd)
172177
* [Some native menus on Mac](https://trello.com/c/0IsE7q02) (hardcoded support only for English, French, Japanese)
173178
* Windows installer UI (hardcoded support only for English, Japanese - with some limitations)
179+
* Localized folder name of "Getting Started" has to be made of up basic English characters only, as described
180+
[here](https://github.com/adobe/brackets/pull/8332#issuecomment-48767847).

0 commit comments

Comments
 (0)