CMS Made Simple Forums
https://forum.cmsmadesimple.org/

Change My Settings - location of its language file
https://forum.cmsmadesimple.org/viewtopic.php?f=15&t=40297
Page 1 of 1

Author:  docman [ Sun Jan 03, 2010 6:02 pm ]
Post subject:  Change My Settings - location of its language file

Hi, I try to translate the labels on the form (screen capture image attached), but cannot locate the lower case entries in the only language file I found for the FEU module.

Thanks.

Attachments:
x.jpg
x.jpg [ 39.58 KiB | Viewed 4608 times ]

Author:  RonnyK [ Sun Jan 03, 2010 7:01 pm ]
Post subject:  Re: Change My Settings - location of its language file

They are probably the names of the variables that you use in the form.

Ronny

Author:  docman [ Sun Jan 03, 2010 7:51 pm ]
Post subject:  Re: Change My Settings - location of its language file

Yes, they are. I would like to translate them, though if that is possible. It seems, though that it is more difficult than tranlating lang strings. In future release, I would certainly recommend to keep all literal definitions in the lang file.

Author:  RonnyK [ Sun Jan 03, 2010 7:53 pm ]
Post subject:  Re: Change My Settings - location of its language file

They come with the default template you use, you could rename them there...

Personally I allways use their ID-number in the templates, as then the variable/label doesnt change when you rename them...

Ronny

Author:  docman [ Sun Jan 03, 2010 8:00 pm ]
Post subject:  Re: Change My Settings - location of its language file

In your opnion, can these variable be translated in the form I attached previously. If so (via a replacement) what files I need to look into so that I do not miss any files where these variable are being referenced to. Combaning evrything to be translated in a single lang file seems like the safe way to go about translation, but in this particular case it would be rather unusual to leave the as is (in English).

Thanks.

Author:  RonnyK [ Sun Jan 03, 2010 8:22 pm ]
Post subject:  Re: Change My Settings - location of its language file

they cant be modified in a file, you should modify them in the form and its templates...


Ronny

Author:  docman [ Sun Jan 03, 2010 8:59 pm ]
Post subject:  Re: Change My Settings - location of its language file

Could you possibly identify the files that I need to deal with. I looked, and could not find these form, only those of login and logout.

Thanks you.

Author:  RonnyK [ Sun Jan 03, 2010 9:03 pm ]
Post subject:  Re: Change My Settings - location of its language file

I guess that these are the labels of the properties belonging to the group the user belongs to. Check the edit-link in the groups of FEU.

Ronny

Author:  docman [ Sun Jan 03, 2010 9:19 pm ]
Post subject:  Re: Change My Settings - location of its language file

Thanks. It makes sense. I go and check.

Author:  docman [ Sun Jan 03, 2010 9:23 pm ]
Post subject:  Re: Change My Settings - location of its language file

Unortunately, no variables to change there.

Author:  RonnyK [ Sun Jan 03, 2010 9:25 pm ]
Post subject:  Re: Change My Settings - location of its language file

Arent they the 'properties'? As first you make properties, and then you attach them to the group... It looks like it are these..

Ronny

Author:  docman [ Sun Jan 03, 2010 10:02 pm ]
Post subject:  Re: Change My Settings - location of its language file

Thanks a lot. This was it!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/