[HTTPS-Everywhere] Translations?

Jeroen van der Gun jeroen at blijbol.nl
Tue Jul 5 11:16:40 PDT 2011


Hi,

I was just wondering: do you plan to make the add-on multilingual, now
or in the future?

Currently most texts are hard-coded in the XUL files. I don't know much
about Firefox add-on development, but AFAIK you should use entities for
all texts to be able to translate it. This is already done for a few
strings, but not for all.

For example, in preferences.xul [1], there are references (like
'buttonlabelextra1="&https-everywhere.prefs.disable_all;"') to entities
defined in https-everywhere.dtd [2]. If this approach is consistently
used for all strings, it should be easy add more languages to the add-on.

I can create a Dutch translation if you want. :)

Jeroen van der Gun

[1]
https://gitweb.torproject.org/https-everywhere.git/blob/HEAD:/src/chrome/content/preferences.xul
[2]
https://gitweb.torproject.org/https-everywhere.git/blob/HEAD:/src/chrome/locale/en/https-everywhere.dtd

-- 
Publieke sleutels voor e-mailcryptografie
<http://www.jeroenvandergun.nl/pki>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.eff.org/pipermail/https-everywhere/attachments/20110705/291a7499/attachment.html>


More information about the HTTPS-everywhere mailing list