[sugar] linfo files should go

Michael Stone michael
Sun Sep 16 15:21:50 EDT 2007


Albert,

The freedesktop.org spec you cited relies on case sensitivity in the
.desktop files. Therefore, insofar as we attempt to adapt ourselves to
that spec, we should probably use the actual key names given at:

  http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html

Best,

Michael

On Sat, Sep 15, 2007 at 05:13:01PM -0400, Albert Cahalan wrote:
> Activity files are based on this spec:
> http://www.freedesktop.org/wiki/Specifications/desktop-entry-spec
> 
> According to the spec, translation is handled like this:
> 
> [Activity]
> name = Tux Paint
> name[af] = Tux Verf
> name[da] = Tux maling
> name[et] = Joonistame koos Tuksiga!
> name[gos] = Vaarve
> name[hr] = Boja
> name[is] = Teikna
> name[nl] = TuxPaint
> name[pl] = Rysuj
> name[pt] = Pintar
> name[sw] = Koti ya Rangi
> name[tr] = Tux Boyama
> activity_version = 1
> host_version = 1
> service_name = com.example.www
> icon = tuxpaint
> icon[he] = tuxpaint-rtl
> icon[ar] = tuxpaint-rtl
> 
> BTW, note that the icon can be localized. Note also
> that fr_CA is more specific than just fr, and so on.
> 
> Sugar ought to give first priority to following this spec.
> If a translation exists in the file, then sugar should use it.
> 
> If no translation is found, second priority should go to
> a standard PO file. (compiled form I suppose) This is often
> much easier for software developers to manage, because they
> can have the *.info file be fully human-generated and thus
> not have any "interesting" build issues.
> 
> BTW, being 100% compatible would be excellent.
> I don't see why this would be impossible.
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar



More information about the Sugar-devel mailing list