Login  Register

Re: Dev - Entity Labels Extractor for i18n

Posted by Jacques Le Roux on May 28, 2006; 2:25pm
URL: http://ofbiz.116.s1.nabble.com/Dev-Entity-Labels-Extractor-for-i18n-tp168240p168241.html

This is a simple script that I made to extract Entity Descriptions
from XML files and build a CommonEntityLabels.properties file.
After that you can translate this file, and following the recommended
practices, view all Entity Labels in your language.
See http://ofbizwiki.go-integral.com/Wiki.jsp?page=HowToLocalizeAnOFBizAppl

It is written in javascript, but will only work in windows.
* I´d like you to try it and test it. *
Usage (from windows command line):

cscript i18nExtract.js <entityDefinitionFile.xml>

If it works OK, we could host it somewhere (I think that using the
wiki for this could be dangerous, because someone could write malware
with it)

--
Guido


Guido,
If I'm not wrong this is no more needed. See
http://jira.undersunconsulting.com/browse/OFBIZ-823 and
http://jira.undersunconsulting.com/browse/OFBIZ-837. As I'm not sure this is
also a way to well understand this point (Is it only for certain kind of Entity
Labels (dates) or all Labels ? Thanks by advance for who know that point for
sure...)

Another point : when modifing existing files it's better not to check the RBE
option that generate
#Generated by ResourceBundle Editor (http://eclipse-rbe.sourceforge.net)
In your case, as it's creation of files, this is not a problem I guess.

Jacques

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev