Skip to content

Contribute for Translation #2

@dead8309

Description

@dead8309

Here's how you can contribute to translation

First get the strings.xml file and translations.xml files

Make the translation in strings.xml and then edit translation.xml file fields like this :

Example(1)

Suppose you have translated to English or any other language which is already there then you have to edit the translation.xml file like this
<!-- Language Names Here -->
    <string-array name="languages">
        <item>English</item>
    </string-array>

<!-- Edit your name here according to translated language -->
    <string name="english_contributors">Vaibhav,Yzzik</string>

Example(2)

If you translated to a language which is not already there let's say Russian then you have to edit the translation file like this
<!-- Language Names Here -->
    <string-array name="languages">
        <item>English</item>
        <item>Russian</item>
    </string-array>

<!-- Edit your name here according to translated language -->
    <string name="english_contributors">Vaibhav</string>
    <string name="russian_contributors">Yzzik</string>

Edit

I forgot to mention that you also have to update this field in translation.xml if it doesn't contain that language contributors item.

Example (1)

if you added a new language (let's say russian) then you have to edit this field as

<!-- Don't Edit this -->
    <string-array name="contributors">
        <item>@string/english_contributors</item>
        <item>@string/russian_contributors</item>
    </string-array>

Note
You don't have to edit this field if it already contains your language item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions