-
-
Notifications
You must be signed in to change notification settings - Fork 119
Description
Problem Statement
Sometimes you need to update a string in an interface file that has already been translated. This necessitates updating the that string in all translations. However, interface strings are keyed to the object ID, so if the object itself doesn't change then bartycrouch only seems to update the comment, but leaves the actual localisations untouched. This requires developers to be extra careful in auditing the changes
Suggested Solution
Bartycrouch seems able to detect that the string has changed in the Base localisation by the fact that it updates the title. It would be useful if there was a configuration option to also have it replace the localised string with the new Base localisation, as the localised string is likely now invalid. This would make it easier for translators to see that the string needs to be re-translated
Example Usage
You have a button titled "Delete" in a NIB with translations in multiple languages. You update the button in the NIB to "Remove". The next time you run bartycrouch update all strings files for that NIB get updated with "buttonID.title" = "Remove", replacing any previous translations for buttonID.title.
Possible Involvement
- I could help with implementation: Depending on time I could take a look at implementing this myself, though likely not in the near future
- I could help with testing: Once implemented I could assist with testing on my current project to ensure it works