Skip to content

Commit

Permalink
feat: translation documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
reisxd committed Sep 26, 2024
1 parent 8c1afd3 commit fc8f238
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 703 deletions.
28 changes: 28 additions & 0 deletions docs/TRANSLATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Translating TizenBrew

If you'd like to help translate TizenBrew into your language, you can do so by following these steps:

## Fork the Repository

First, fork the [TizenBrew repository](https://github.com/reisxd/TizenBrew) on GitHub.

## Copy the English Translation File

Copy the `en.json` file from the `lang` directory and rename it to the appropriate language and country code. For example, if you're translating TizenBrew into French, you would rename the file to `fr_FR.json`. See ISO 639-2 and ISO 3166-1 alpha-2 for a list of language and country codes.

## Translate the File

Translate the contents of the file into your language. Do not translate the text between the curly braces (`{}`).

## Add Your Language to the Languages List

Add your language to the `languages` object in [here](https://github.com/reisxd/TizenBrew/blob/main/tizenbrew-app/TizenBrew/js/translation.js#L6) following the same format as the other languages (`English Name (Native Name)`).

## Submit a Pull Request

Once you've finished translating the file, submit a pull request to the main TizenBrew repository.


## Done!

That's it! Your translation will be reviewed and merged into the main TizenBrew repository. Thank you for your help!
Loading

0 comments on commit fc8f238

Please sign in to comment.