mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-24 23:46:00 -04:00
Add translation guide to CONTRIBUTING.md
This commit is contained in:
parent
c6ef499ced
commit
19d4df8b2e
1 changed files with 11 additions and 1 deletions
|
@ -20,4 +20,14 @@ When you have something new built for Haveno, submit a pull request for review t
|
|||
|
||||
## Developer guide
|
||||
|
||||
See the [developer guide](developer-guide.md) to get started developing Haveno.
|
||||
See the [developer guide](developer-guide.md) to get started developing Haveno.
|
||||
|
||||
## Translation
|
||||
|
||||
Existing translation files are in [core/src/main/resources/i18n/](/core/src/main/resources/i18n/), feel free to update or improve them if needed.
|
||||
|
||||
To add a new locale translations, follow these steps:
|
||||
|
||||
- Add your [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) standard country language code to [core/src/main/java/haveno/core/locale/LanguageUtil.java](/core/src/main/java/haveno/core/locale/LanguageUtil.java) and remove it from "// not translated yet" if it is there.
|
||||
|
||||
- Copy [displayStrings.properties](/core/src/main/resources/i18n/displayStrings.properties), create new file in [core/src/main/resources/i18n/](/core/src/main/resources/i18n/) in this format: `displayStrings_[insertLocaleName].properties` and then add translations.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue