Simple example of why translations in ejde is a good idea :

Enki has 2 themes : one for big screen and one for small screen. Both themes
are different, screens are really differents consequently texts are
different two. Translations are related to the theme and not to the
application.

2010/9/5 Gustavo Sverzut Barbieri <[email protected]>

> Ok, late, but I'm still trying to catch with mails...
>
> On Sun, Aug 29, 2010 at 4:12 AM, Tom Hacohen
> <[email protected]> wrote:
> > I've added my comments below, but if it's just 24 strings per file
> > maximum, I don't care enough to argue, *but* I can assure you this
> > number will grow very soon (once people will be able to translate
> > strings in edj).
> > Please read my comments anyway, maybe you'll get convinced.
> > Furthermore, I have a compromise, maybe implement edj inclusions and add
> > an edj.d dir for each edj so it'll be able to load all the translation
> > edj's (which will be either in one edj, or split to several).
>
> this totally defeats the purpose of EDJ as a single bundle. This alone
> is sufficient to reject this idea (although it is much simpler to
> implement, just dgettext() all edj strings).
>
> If the EDJ wants to be translated, it must also ship with the
> translations for all known languages. As said, as optimization, we may
> strip out them if people start complaining, it is super easy as the
> plan is to ship .mo as a section of eet (such as translation/pt_BR)
> and change gettext to bind/load from memory instead of files.
>
> In future, more than text may be translated, for instance people can
> have an image called flag.png that is translated to flag-en.png or
> something like this. But this requires more work and should be done
> later.
>
> BTW, I don't know if it was you or someone else that suggested that
> distros do/may distribute lang packs in separate... and this is nasty,
> if you check how they do it, to save some stupid amount of packages (N
> packages for all translatable packages), they do a stupid reverse
> hack: they pack all translations of a set of applications in one! So I
> record distributions where I had translations for openoffice or gnome
> not even having those installed :-/
>
> BR,
>
> --
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --------------------------------------
> MSN: [email protected]
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



-- 
Regards.
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to