Skip to content

Contributing to an existing language

  1. Fork this repo, and switch over to the dev branch git clone https://github.com/ctih1/frii.site-frontend && cd frii.site-frontend && git checkout dev

Now open https://fink.inlang.com/ and input your forks url Fink website

Now change over to the dev branch fink_dev

Change to your target language fink select language

Now translate your sentences fink english sentence into your target language fink translated sentence

Once you're done, log into fink fink login button

And now push the changes into your repository.

Now create a pull request into the dev branch of frii.site. New pull request from dev to ctih1/dev

Creating a new locale

  1. Fork this repo, and switch over to the dev branch

git clone https://github.com/ctih1/frii.site-frontend && cd frii.site-frontend && git checkout dev

  1. Copy the en.json file (located in messages/en.json) into the same directory, and change the name to your language (e.g Italian: it, Polish: pl, French: fr)

translationtranslationtranslation

  1. Add your language to project.inlang/settings.jsons languageTags array. new item in languageTags array
Editing using your code editor (recommended) Open your new `.json` file located in the `messages` directory, and translate the sentences into your language.

WARNING

Do NOT translate variables (text wrapped in {}) inside sentences. Variables such a {domain} and {email} can not be translated, as they would stop working. You can move these variables around the sentence itself, but you can not move them into other sentences, or delete them.

After you're done editing, push the changes into your fork (git push origin dev) Now create a pull request into the dev branch of frii.site. New pull request from dev to ctih1/dev

Editing using a web editor

Firstly, push the changes into your fork (git push origin dev)

Now open https://fink.inlang.com/ and input your forks url Fink website

Now change over to the dev branch fink_dev

Change to your target language fink select language

Now translate your sentences fink english sentence into your target language fink translated sentence

Once you're done, log into fink fink login button

And now push the changes into your repository.

Now create a pull request into the dev branch of frii.site. New pull request from dev to ctih1/dev

Rewards

You can get certain rewards for translating frii.site into your language. make sure you include your frii.site username with in the pull request

How many people speak itReward
less than 5 millionAdded to the contributors
5 million - 50 million150 credits
51 million - 99 million350 credits
100 million - 500 million500 credits
more than 500 million800 credits