Skip to content

This is a project with locales for private git repo of deskreen.com website

License

Notifications You must be signed in to change notification settings

Deskreen/deskreen-website-locales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deskreen-website-locales

This is a project with locales for private git repo of deskreen.com website

Want to add new language or found a typo on Deskreen APP (not a website)? Here are guides on how to help

Contents

When editing a translation.json file, don't change the left part of translation before the :. Only change the text between " on right side of : sign.

Example:

Some content of translation.json

...
"Hello": "Hello"
...
Good example, after your change (for example Spanish language support):
...
"Hello": "Hola"
...
Bad example of your change (left side is different than in original):
...
"Greetings": "Hola"
...

Rule of thumb, don't edit a text on a left side of : sign in translation.json file. only edit a text between " on the right side from : symbol.



Find translation.json file for language you need to edit in this repo subfolders (ex. en/translation.json, ua/translation.json etc.) Then download this file

How to download translation.json file

open Raw translation.json file -> right click in browser window -> Save as..

You can use any simple text editor to edit translation.json file. Good text editors for different operating systems:

  • Windows (Notepad)
  • MacOS (TextEdit)
  • Linux (gedit, mousepad etc.)

When you've finished editing files, you can send me a Google Drive link to these files for translations of Deskreen Website, or attach them to email. Send your email with files here: [email protected] Thank you very much!



Find translation.json file for language you need to edit in this repo subfolders (ex. en/translation.json, ua/translation.json etc.)

Fix typos and then submit your PR on this repo. Thank you!





  • use en/translation.json as a template.
  • dont miss this part at the top of the file:
     "language name": "English",
     "language": "language",
     "language flag": "🇺🇸",
    
    • the language name is how the language calls itself. For example Russian -> Русский . So this should be: "language": "Русский" in russian
    • language flag is emoji country flag where this language is the most widespread. You can search for country flag emojis here: https://getemoji.com/ , then copy-paste emoji symbol. Example for ukrainian language this line should be: "language flag": "🇺🇦"
    • "language": "language" is how the word language translated to your target language. Example of how this look in spanish: "language": "idioma"
  • Follow these general guides on editing translation.json


You can use any simple text editor to edit translation.json file. Good text editors for different operating systems:

  • Windows (Notepad)
  • MacOS (TextEdit)
  • Linux (gedit, mousepad etc.)

You can grab English language translation.json file from en/translation.json and use it as a template

How to download translation.json file

open link -> right click in browser window -> Save as..

When finished editing translation.json files

You can send me a Google Drive link to these files for translations of Deskreen Website, or attach them to email. Send your email with files here: [email protected] Thank you in advance!



Fork this repo. Add a new subfolder with translation.json for your language, for example for spanish you should add es/translation.json.

When you've finished editing submit a PR with your changes to this repo, then it will be reviewed and merged. Thank you in advance!

About

This is a project with locales for private git repo of deskreen.com website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published