I'm experimenting with github actions, xcodebuild -exportLocalizations
/ xcodebuild -importLocalizations
and the web application lokalise.com, trying to automate the localisation process for my app.
As a test I marked all my storyboards as localisable with base (english) localisation, exported the .xcloc and imported it into lokalise. Lokalise correctly imports this as English and shows all the keys / values.
If I make any change to the English translations as a test (such as adding a "$" to the end), Lokalise changes both source
and target
inside the xliff
<trans-unit id="JOQ-R1-RUU.text">
<source>Total $</source>
<target>Total $</target>
<note>Class = "UILabel"; text = "Total"; ObjectID = "JOQ-R1-RUU";</note>
</trans-unit>
I'm assuming this is what I would want. Given English is my base language. I would want my storyboard to update and display this new value while i'm working on it, not just on my app when its set to English.
However when I import (either manually or via command line) I get a warning about a mismatch with no option to accept the new value. Importing just ignores it and does nothing.
Is there no way to tell Xcode that this is what I want, accept the change?