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

Commit

Permalink
Merge branch 'id' of https://github.com/pace-noge/brackets into pace-…
Browse files Browse the repository at this point in the history
…noge-id

Conflicts:
	src/nls/root/strings-app.js
	src/nls/root/strings.js

Resolved conflicts and added 'id' to src/nls/urls.js. Added src/nls/id/urls.js to point to the "Getting Started Document"
  • Loading branch information
ingorichter committed Mar 11, 2014
2 parents bc21f63 + d2f58a3 commit b64a2a1
Show file tree
Hide file tree
Showing 6 changed files with 551 additions and 19 deletions.
7 changes: 4 additions & 3 deletions src/nls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

1. Create a subfolder of the `nls` folder whose name is the language or locale you want to
create a translation for.
* If you're creating a general translation for a language, just use its two-letter code
* If you're creating a general translation for a language, just use its two-letter code
(e.g. `en`, `de`).
* If you're creating a locale-specific translation for a particular country, add a hyphen
* If you're creating a locale-specific translation for a particular country, add a hyphen
and the country code in lowercase (e.g. `en-ca`, `en-gb`).
2. Add an entry for your translation to the `module.exports` object in `nls/strings.js`.
3. Edit the root `strings-app.js` file and add a new `LOCALE_`* entry for your language, as seen in
Expand All @@ -22,7 +22,7 @@ Localization is provided via the [require.js i18n plugin](http://requirejs.org/d
### Translating the Getting Started project

When first installed, Brackets will open a Getting Started project that serves
as an introduction to Brackets features. This project can be translated by
as an introduction to Brackets features. This project can be translated by
providing a ``urls.js`` file that points to a localized directory under the
``samples`` folder at the root of the Brackets repository. See the French
localization (`src/nls/fr/urls.js`) for an example.
Expand Down Expand Up @@ -71,6 +71,7 @@ The following languages have been contributed by the Brackets community:
* Swedish (sv)
* Turkish (tr)
* Simplified Chinese (zh-cn)
* Indonesia (id)

These translations _can be directly modified_ through our normal pull request
process.
Expand Down
Loading

0 comments on commit b64a2a1

Please sign in to comment.