[openFIRST-devel] Language files?
Brought to you by:
xtimg
From: Jamie B. <ast...@gm...> - 2005-08-28 04:54:54
|
Could we use Mozilla-style properties files for translations? Extremely simple syntax, directly translatable into a flat associative array, and requires no fancy editors or anything. The only trick is figuring out the encoding to use... I've included part of the properties file from the Firefox DOM Inspector. It can also be found at <chrome://inspector/locale/inspector.properties> (in Mozilla or FireFox). Note that this format is geared towards short snippets, not long blocks. --=20 Jamie newAttribute.title =3D New Attribute editAttribute.title =3D Edit Attribute enterAttrName.message =3D Enter the attribute name: enterAttrValue.message =3D Enter the attribute value: findNodesDocumentEnd.message =3D End of document reached. findNodesDocumentEnd.title =3D Find Nodes # The following items correspond to the node types defined by the # W3C DOM Core specification. 1 =3D Element 2 =3D Attribute 3 =3D Text 4 =3D CDATA Section 5 =3D Entity Reference ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB. |