[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Template localization

Hi Erik,


If I understand well, the fully translated templates moved from the templates directory in v1.3 to the database in v1.4. In the table ‘template’ one can store ie a  record called ‘ínvocie’ with language_code ‘nl’ (and format ‘tex’).


Is this what you indicated below?






Van: Erik Huelsmann [mailto:..hidden..]
Verzonden: zondag 11 januari 2015 21:13
Aan: ..hidden..
Onderwerp: Re: [Ledger-smb-users] Template localization


Hi Peter,


On Tue, Jan 6, 2015 at 11:59 PM, Peter van Bussel <..hidden..> wrote:

Dear all,


For some reason the non-localized and not the chosen language template is used from the database. What am I doing wrong? (LSMB1.4.9)


There are two types of localized templates: one which translates all texts in-line using <?lsmb text("translated text") ?> "calls". The other is the fully translated translated file that used to be located in templates/<template directory>/<language-code> (e.g. templates/demo/nl).


Do you mean the second form isn't working? If that's the case: has it been loaded into your database?

Thanks for taking the time to report! 







http://efficito.com -- Hosted accounting and ERP.

Robust and Flexible. No vendor lock-in.

Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
Ledger-smb-users mailing list