Hello!
I have a string based project in yaml format. All up to date translations are in main branch.
Now I want to replace some string (“xxx”) in all translations of es language to some other string (“yyy”). I create branch, open editor, choose branch and es language.
When I try to run Replace in Translation from burger menu and tries to search for “xxx” text it couldn’t find any of the translations. Only if I choose “All branches” it could find strings from the main branch.
I expect that I could Replace some substrings in my created branch and them merge this changes to the main branch. Could you please advise what I’m doing wrong?
Hello @DianaO !
Thank you very much for your response!
Previously I had selected this option for duplicates: “Show within a version branch (strict detection) - duplicates will be hidden only between versions branches“.
I turned on another option “Show, but auto-translate them”. After that in Strings menu I’m able to see translations in a branch (previously it looked as empty) + in Branch menu I see that my cloned branch has the same amount of strings as main.
But unfortunately in Editor in “Replace in Translations” instrument when I try to find strings that is present in translation it couldn’t be found. In the same time in the editor itself with chosen branch I could find the strings if I just use search bar in Editor itself.
Moreover if edit translation manually, after that this particular translation become visible in “Replace in Translations” instrument.
Maybe you could advise anything else that will allow to use “Replace in Translations” without manual editing of each translation?
When you’re working within a newly created branch, and you want to replace text in translations for a specific language, it’s important to ensure that the translations you want to modify are actually present in that branch. If the translations are only in the main branch, they won’t be available for replacement in the new branch until they are merged or otherwise copied over.
Since you mentioned that you can only find the strings when selecting “All branches,” it seems that the translations you’re trying to replace have not been included in your new branch yet. If they belong to the main branch, they are not technically included in the second branch, due to the master-duplicate relation.
To perform replacements within your branch, you would first need to have the translations you want to modify available in that branch.