Skip to content

Adding new string item with translations. #138

Closed Answered by aj3423
krystofair asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know how to use the "Translation Editor" in Android Studio, I'm not using it. I use a Golang script to translate.

When I want to add a new string, I'll only add it to the English strings.xml, then I run the golang script, it will automatically translate into other languages, those folders like "values-de" will be generated automatically.

The reason why there are 7 xml files is that the AI can't handle large text chunks, so I need to split the xml into small files, and I always add new strings to the last file, currently it's strings_7.xml, so it won't affect the previous files.

So if you want to add new strings, just add it in the English xml file, the last one, I'll do the rest, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by krystofair
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants