PDA

View Full Version : Hardcoded???


andreas
01-07-2008, 08:19 AM
Sorry, I can't find the constant for the following message anywhere (sensible):

Do you want to enroll into the course?

This appears when a non-registered user clicks on a course he (obviously) is not enrolled in. Can you please check, if this message is hard coded (and if so .... change it) or advise where to change it. Thank you.

sokratex
01-08-2008, 11:43 AM
The string you mention is new to the 1.0.4 version also there are several new strings in various files in the language folder. The file in question here is: courses_main.lang.php
I use Beyond Compare to see the new strings, highly recommended, for translation purposes along with Search & Replace.

den
01-09-2008, 07:15 PM
Yes, you should compare your language files with the english ones and find the differences.
English files contains all text messages, but other language files - only translatable.

Message 'Do you want to enroll into the course?' should be located in the file in variable '_JLMS_COURSES_ENROLL_MSG'

andreas
01-15-2008, 03:05 PM
I thought, I had translated everything there was to be translated for version 1.0.4....
So this means that the language files need updating.... What a task, especially since we are talking about a lot of tiny lanuage files which all need to be checked for missing elements.

Maybe, one of these days there will be a better tool to update the language files....
I will have a look at "Beyond Compare" ....

Maybe there should be some prior warning, before version 1.0.5 is released!!!!

Thanks for providing some work for me ;-)

entity
07-07-2010, 09:38 AM
I don't know how complex the translation requirements might become, but has anyone considered DITA, (http://xml.coverpages.org/dita.html), or OAXAL (http://www.xml.com/pub/a/2007/02/21/oaxal-open-architecture-for-xml-authoring-and-localization.html)?

There's also some info here....

http:www.entity.co.uk

Thanks

Sam

Helga_13
07-09-2010, 02:38 PM
Thanks for the suggestion but we have our own simple engine to localize/translate JoomlaLMS and our specialist presumes that using any difficult techniques described above is not a good way for light-weighted php applications.