mozilla / persona-gmail-bridge

An experiment in building a minimal identity bridge for Gmail
Mozilla Public License 2.0
12 stars 6 forks source link

Include localizations when building RPMs #91

Closed callahad closed 9 years ago

callahad commented 11 years ago

Blocked by:

Still, we can probably start looking at mozilla/browserid and figuring out how it handles adding locales during the build process.

seanmonstar commented 11 years ago

@lloyd was telling me that @mathjazz sets up an svn repo for localizers, and they commit strings to it.

So the rpmbuild.sh would need to use svn to include the files when building, as browserid does currently.

callahad commented 11 years ago

@seanmonstar Do you have the bandwidth to hack on this in the near future? Edwin wants to go live on Tuesday or Wednesday, and would love to have a localized RPM on stage for a little bit before then.

Off the top of my head, you'll need to add a build dep on Subversion, do the checkout, maybe mangle the names of the .po files into whatever i18n-abide expects?, and shove them into the RPM.

You'll also want to have some way to tweak the list of enabled locales based on what we get out of svn.