From: Rom P. <ro...@pr...> - 2004-08-16 18:35:44
|
Dear Hani and All, > Hi Rom, I think you will find that .po files (gettext files) are alot > easier to maintain that a db. > Remember that you will not actually need to touch them, there tones of > editors that can read them > and compile them. Some of these editors are quite sophisticated, some > will even give you suggested translations etc.. Nice! I just started reading more about the gettext, but appear to be quite interesting. I did not make a fair job explaining my idea, what I will try to do now. There are 3 elements: <Translation Central Web Site> - referred as [WS] <Online Translation Interface> - referred as [TI] <Translation Approval Administration Interface> - referred as [TAA] The idea is to create a [WS] (let's say in web-erp website) where the person would edit the [TA] for the desired language. After editing, those modifications/inclusions would be available for the Admin to approve in the [TAA]. After approved, the new gettext file would be generated and become available for everybody to download. Also, when new versions are launched, the new not translated text stays in English (assuming that English is the default language). So every language gets created at upgrade/update launch time. Users from that language that get the update will be alerted about the text not translated and can translate at real time in the [WS]. In this way we would have an unified translation effort, where all the users would take advantage of the recent translations, what is the main problem of most translations all around, the upgrade/update issue. Every time there is a new version the translation gets behind. > The thing with gettext is that you will need to call a function, when I > did the translation code for > OpenAccounting I named the function _() so instead of having > print "Hello" > it becomes > print _("Hello"); This appears to be good enough for me. I understand that it would look for "Hello" into the dictionary file, right? It becomes then a matter of identifying all the spots and modifying them to adapt to this new system... How many developers are actually in the development row? If we coordinate, should not be a so impossible task to accomplish... > Phil was not keen on that at the time since it involved changes to > almost every file and would > cause too much hassle, that is why Sherif started OpenAccounting. At the > time I was still involved > with OA it was basically weberp with multi-language support and more > object-oriented design. > I don't know how they compare now. > Hani Well, please let me know your inputs on the questions above and at the idea, Thank you and best regards, Rom Pereira ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Web-erp-developers mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |