mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-13 23:15:07 +00:00
2487d6c321
This is not a valid punctuation mark in english
49 lines
2.4 KiB
Markdown
49 lines
2.4 KiB
Markdown
# App translations guide
|
||
|
||
## ⛔️ Rules and advices
|
||
|
||
- **Please do not use Internet translators**
|
||
|
||
Translations made automatically are not allowed in VueTube. You need to know and understand both English and the language you're translating to guarantee a good result. Please do not contribute using Google Translator or similars.
|
||
|
||
*Example: "Enable Return Youtube Dislike integration" should be translated to Spanish as "Activar la integración de Return YouTube Dislike", but an automatic translation could be "Activar integración Devolver los No me gusta de Youtube", and that doesn't sounds natural.*
|
||
|
||
- **Consider leaving some words in English**
|
||
|
||
Some words might sound better in English. For example, depending of the grade of English casual words in your language, you can consider not translating "Plugins", "Dislike", etc.
|
||
|
||
*Example: Instead of translating "Hide Dislikes" to French as "Masquer Je n'aime", you can use "Masquer Dislikes".*
|
||
|
||
- **The name of the language should be in the target language, not in English**
|
||
|
||
*Example: "日本語" instead of "Japanese", "Italiano" instead of "Italian" and "Русский" instead of "Russian".
|
||
|
||
That doesn't apply to the file name (polish.js, dutch.js, indonesian.js), but it does to *"name: example"* section.
|
||
|
||
## 🟢 How to do the translation
|
||
|
||
There are different fields. This is an example of a field:
|
||
|
||
**home: "Home"**
|
||
|
||
Never touch the text previous the double dot (:). That is an indicator of what part is being translated. If you modify it, it won't work.
|
||
|
||
Only translate the text into quotation marks ("). For example, if the translation of "Home" is "Vue", the result will be:
|
||
|
||
**home: "Vue"**
|
||
|
||
It's easy and intuitive. Also there are different sections:
|
||
|
||
**settings: { <br/>
|
||
general: "General", <br/>
|
||
theme: "Theme",**
|
||
|
||
Don't touch the section name, in this case, "settings".
|
||
|
||
## 💻 How to edit and pull request
|
||
|
||
You can’t add a file directly to VueTube repository, but you can do a fork. That means duplicating the project in your personal account. In your fork you can edit whatever you want.
|
||
|
||
After you have done everything, go to Pull Requests on VueTube repository and make a new one clicking in “Compare across repositories”. Include a description about what have you changed. A VueTube admin will approve your changes and your translation will be implemented.
|
||
|
||
<p align="center"> Thank you for being interested on contributing! </p>
|