From: Phil D. <ph...@lo...> - 2014-05-22 08:20:02
|
Sorry Rafael ... my suggestion is obviously the same as your suggestion at 2 - sorry. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 22/05/14 07:00, Rafael Chacón wrote: > Hi, > > The values of "typename" column of the table "systypes" are in > English. They are used as they are in this column. Almost all of the > terms do not appear in the dictionary of translations *.po. > > To translate this, I found two solutions: > > 1.Directly overwrite the database with the local language. > > 2. Create a script "Z_SysTypes.php" containing an array of these > "typename" as line-to-translate, rebuild the languages files, and > translate. E.g. > > Z_SysTypes.php: > $SysType['0'] = _('Journal - GL'); > $SysType['1'] = _('Payment - GL'); > $SysType['2'] = _('Receipt - GL'); > ... > $SysType['42'] = _('Asset Category Change'); > > > > I want a general purpose solution to add to main code (not only for my > local installations). > > What you you think is the best solution? Reviews? Recommendations? > Suggestions? > > Best regards, Rafael. > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |