Skip to content

Translations

Valerio edited this page Dec 2, 2022 · 7 revisions

Translating

Fiddleit wouldn't be available in other languages without help of our translators and you can easily become one! You don't even need extensive coding knowledge, you just need to know how to fork this repo and edit files in github.

Step by Step Guide:

  1. Fork this repository
  2. Once forked, you should see a repository named "fiddleit" in https://github.com/<YOUR_USERNAME>?tab=repositories
  3. locate ~/lang/en.php and copy the raw content then go back to ~/lang/ and create a new file. Name this file: <LANGUAGE_CODE>.php
  1. Paste the raw content you copied from the ~/lang/en.php to the file you created.
  2. You can finally start editing this file and translate it.

Examples

base: "x" => "y"
actual: "title" => "online code editor"
  • The title in this example is x which is also the ID of the title. DO NOT MODIFY THIS.
  • The content under the title x is y. As translators you should edit this section to the selected language
  • DO NOT remove the double quotes. This is needed and you are expected to use them in the translation as well.

Example (Slovak Language Translation):

"title" => "online editor kódu"

Once you're done with the translation, submit a pull request. Our contributors will check it as soon as possible.
If you decide to translate fiddleit, you will get a huge thanks from the fiddleit team ❤️

Clone this wiki locally