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

Commit 9645bf0

Browse files
committed
Merge pull request #7303 from adobe/rlim/loc-process-change
Introduce the SHA comment to improve the localization process.
2 parents d3ffd96 + 3796195 commit 9645bf0

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

src/nls/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
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. Edit this file and update the list of languages below!
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 [histroy page](https://github.com/adobe/brackets/commits/master/src/nls/root/strings.js)
18+
by hovering on the one you used for this translation and click on Copy SHA button.
19+
7. Edit this file and update the list of languages below!
1620

1721
Strings not specified in a given locale will fall back to the general language (without hyphen)
1822
first, and then will fall back to the English string from `nls/root/strings.js`.
@@ -74,7 +78,10 @@ The following languages have been contributed by the Brackets community:
7478
* Indonesia (id)
7579

7680
These translations _can be directly modified_ through our normal pull request
77-
process.
81+
process. Make sure that you also update the comment on the last line with the
82+
correct SHA of `strings.js` from root directory, which you used for your translation.
83+
If the SHA comment is missing, then add one with the correct SHA. See step 6 in
84+
__How to add translations for a *new* locale__ section for adding a new one.
7885

7986
In the future, Adobe may begin maintaining some of these languages too, at which
8087
point the process will switch to the one above. But until then, please _do not

0 commit comments

Comments
 (0)