nightingale-media-player / nightingale-l10n

Repository of the Nightingale localization
http://beta.babelzilla.org/projects/p/Nightingale/
3 stars 1 forks source link

Take out en-US strings from foreign langpacks #5

Closed AntoineTurmel closed 11 years ago

AntoineTurmel commented 12 years ago

Currently Songbird translate platform only ships "full" langpacks... this mean langpacks without 100% completion contains en-US strings. In order to submit our langpack on Babelzilla, we have to remove those en-US strings in each languages.

Compare-locales tool from Mozilla could be useful : https://developer.mozilla.org/en/Compare-locales Else I think a simple diff tool and time could do it ;)

AntoineTurmel commented 12 years ago

We have also to make sure which strings to ignore before removing the english match (We could do it by diffing en-US and a 100 % locale to see what's equal).

AntoineTurmel commented 11 years ago

This script is able to parse and show missing strings: https://gist.github.com/GeekShadow/6172544 Using sed, I can remove those :)

AntoineTurmel commented 11 years ago

Done too with this tool. I have another script too do a batch on all locales, will upload it later.