(bug 45115) Only export languages that can be translated

Also break a few long lines.

Change-Id: I118911ca62708b32ce3576fd8f3ba7746008a9a0