Updated Translation (markdown)
parent
9f087ffe41
commit
68b023624d
@ -7,12 +7,12 @@ The translation concept follows similar concepts as GNU gettext:
|
||||
|
||||
## TL;DR: How to translate
|
||||
|
||||
1. Go into the directory `i18n`.
|
||||
1. Go into the directory [`i18n`](https://github.com/PrivateBin/PrivateBin/tree/master/i18n).
|
||||
2. Copy one of the files into your languages [two-letter ISO 639-1 code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes#Partial_ISO_639_table), i.e. to `es.json` for a Spanish.
|
||||
3. Open the file in a text editor and change the messages after the english message ID.
|
||||
4. Save the file in UTF-8 character encoding.
|
||||
5. Add your new language code into the array called `supportedLanguages` in `js/privatebin.js` (around line 300).
|
||||
6. Done (Pull requests highly welcome!)
|
||||
6. Done. Now you can create a pull requests to get your translation merged into the official PrivateBin.
|
||||
|
||||
## Technical Details
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user