Skip to content

Localization (Website)

Nicke Manarin edited this page Feb 2, 2020 · 14 revisions

❓ How can I localize/translate screentogif.com?

First thing, check if the translation isn't already done! Or up to date.

Currently, the only way to translate the texts of the website is by opening the lang.js file provided below with your preferred text editor.

📡 Acquiring the translatable texts

  1. Visit this link to open the English texts to translate.
  2. Copy the text to your preferred text editor or download the file if your browser prompts you to do so.
  3. If saving the text, please use the UTF-8 encoding.

✏ Translating

It looks easy, but there's a bunch of texts to translate. If you feel like there's too much texts, you can translate partially and let others as it is. Any help is valuable, so thank you for your contribution!

You just need to translate the content inside the double quotes:

s_home: "Home", \\This is a comment

Example, English to Brazilian Portuguese.

s_home: "Início", \\This is a comment

The s_home is the key to the text translation, the comma after the translatable text is required if there's another line of text afterwards, and the text after the double slashes \\ is a comment and it should not be translated.

To represent a new line, you can use <br> and the browser will understand it.

s_source: "Source<br>Code",

📩 After it's done

  • You can send the lang.js file as attachment to [email protected]. Thank you for your help :)