Open Bug 1270855 Opened 5 years ago Updated 2 years ago

Store English .xliff file in the main firefox-ios repository and automatically update it after each commit


(Firefox for iOS :: Build & Test, defect)

Not set



Tracking Status
fxios + ---


(Reporter: flod, Unassigned)



(Whiteboard: [MobileCore][InternProject])

The goal is to be able to identify l10n issues during the development cycle, since checking for problems right before extracting strings is not a valid approach.

What happens right now:
* I periodically update the code repository, and extract English string in a .xliff file with xcodebuild -exportLocalizations -exportLanguage en -localizationPath /path/to/folder/
* I then compare it with a current development version of Italian stored in a separate repository and check for differences.
* If there is an issue I need to go through the history on GitHub to identify the bug that introduced it.

That would be on Delphine from now on, and it would be much simpler to only have to analyze the history of such file on GitHub.

What I'd like to have:
* Developer creates the build as part of his work. The build at the end automatically generates the .xliff file, for example as ~/english.xliff
* Developer only needs to make sure to add this file to the commit. If the PR doesn't change any string, the diff will be empty and the file automatically ignored.

What we gain from this: we have the .xliff in the repository, we have a meaningful history, and devs can also double check if their work make any funny change to the strings.
Oh wow this is old :) Is this something that we can be looking forward to in the future? Would be very helpful indeed. Thanks!
I forgot all about this meta bug I filed to improve localization last year. This would definitely be great and step forward in automating our localization process. I'm going tag this bug in our Trello roadmap so we can schedule this after 7.0.
tracking-fxios: --- → ?
Whiteboard: [MobileCore]
Whiteboard: [MobileCore] → [MobileCore][NeedsTrelloCard][InternProject]
Whiteboard: [MobileCore][NeedsTrelloCard][InternProject] → [MobileCore][InternProject]
Per policy at If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Closed: 3 years ago
Resolution: --- → INACTIVE
Resolution: INACTIVE → ---
You need to log in before you can comment on or make changes to this bug.