-
-
Notifications
You must be signed in to change notification settings - Fork 7
Translations
Valerio edited this page Dec 2, 2022
·
7 revisions
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.
- Fork this repository
- Once forked, you should see a repository named "fiddleit" in
https://github.com/<YOUR_USERNAME>?tab=repositories - locate
~/lang/en.phpand copy the raw content then go back to~/lang/and create a new file. Name this file:<LANGUAGE_CODE>.php
-
LANGUAGE_CODErefers to the abbreviated form of the language. IE:enfor English andesfor Español. - more info about language codes are available here: https://www.w3schools.com/tags/ref_language_codes.asp
- Paste the raw content you copied from the
~/lang/en.phpto the file you created. - You can finally start editing this file and translate it.
base: "x" => "y"
actual: "title" => "online code editor"
- The title in this example is
xwhich is also the ID of the title. DO NOT MODIFY THIS. - The content under the title
xisy. 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 ❤️
© 2023 fiddleit wiki