Apply the translated text for each language to strings.xml.

Generating android studio strings.xml

Insert the translated text for each language into the strings.xml template (placeholder).
No data is uploaded to the web server; the process is completed using only JavaScript, so you can use it safely.

Place Folder: Enter the original strings.xml. You can leave the original text in it.

Expand the input field  reduce

Translation text: Enter the post-translation text corresponding to the place folder. Enter one or more blank lines to separate each item.

Expand the input field  reduce

Fixed items: Enter the items you want to output as fixed.

Expand the input field  reduce

Result of the synthesis

Expand the output field  reduce
Copy
Usage:
1. Place Folder: Enter the original strings.xml

<resources>
    <string name="app_name">sample</string>
    <string name="setting">Settings</string>
    <string name="cancel">Cancel</string>
    <string name="apply">Apply</string>
    <string name="number">one\ntwo\nthree</string>
<resources>

2. Translation text: Enter the post-translation text corresponding to the place folder. Enter one or more blank lines to separate each item.
The "'" in the translated text will be escaped by "\".
A blank line is determined as the item separator, but if it is a continuous line, it will be concatenated with \n as the same item.
Example of entering Russian

образец

Настройки

Отмена

Применять

один
два
три


3. Fixed items: Enter the items you want to output as fixed.

<string name="en">English</string>
<string name="ru">русский</string>

4. The result of the synthesis will be displayed.

<resources>
    <string name="app_name">образец</string>
    <string name="setting">Настройки</string>
    <string name="cancel">Отмена</string>
    <string name="apply">Применять</string>
    <string name="number">один\nдва\nтри</string>
    <string name="en">English</string>
    <string name="ru">русский</string>
<resources>
You can use it freely for both commercial and personal use.
This article is current as of May 2021
If you have any questions about this site, please contact ao-system
We shall not be liable for any claims for damages incurred in the operation of this program, regardless of whether or not there is any negligence in the use of this program.