#3491 NORM Untriag: follow freedesktop.org standard for *.info i18n

Zarro Boogs per Child bugtracker at laptop.org
Sat Sep 15 20:19:02 EDT 2007


#3491: follow freedesktop.org standard for *.info i18n
---------------------------+------------------------------------------------
 Reporter:  AlbertCahalan  |       Owner:  marco    
     Type:  defect         |      Status:  new      
 Priority:  normal         |   Milestone:  Untriaged
Component:  sugar          |     Version:           
 Keywords:                 |    Verified:  0        
---------------------------+------------------------------------------------
 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. (in compiled *.mo form) 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.

-- 
Ticket URL: <https://dev.laptop.org/ticket/3491>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list