[fix] for translation

7 posts by 2 authors in: Forums > CMS Builder
Last Post: June 30, 2009   (RSS)

By flamerz - June 21, 2009 - edited: June 21, 2009

in edit_functions.php line 736 need to add parsing for translation:

<b>Max Records:</b> Max records user is allowed to create (for regular users only - leave blank for unlimited)

with:
<b><?php _e('Max Records') ?>:</b> <?php _e('Max records user is allowed to create (for regular users only - leave blank for unlimited)') ?>



Can be translated this too?

menuName = User Accounts (line 7)

in accounts.ini.php?

Best regards!

Fix in language files too.

Re: [flamerz] [fix] for translation

By ross - June 22, 2009

Hi there.

Thanks for posting!

Could you send me an email with this to consulting@interactivetools.com. Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [flamerz] [fix] for translation

By ross - June 22, 2009

Hi again.

Thought of a better idea on this one :). I'll make the change right now so you don't have to worry about emailing.

We'll try to have that ready to go for the next version. Did you already make the change to your files? Did you need a hand with that? It sounds like you have a pretty good handle on it.

Let me know though :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [flamerz] [fix] for translation

By ross - June 23, 2009

Hi there.

Thanks for the update!

I don't quite understand. Are you trying to change the language? Or are you just letting me know what you've done :).

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] [fix] for translation

By flamerz - June 28, 2009

Sorry my delay, i can only post at weekends.



In this one i wish to have menuname variable in languages folder too. Now only can be translated to another languages editing the ini file.



In second capture, i made some changes to have one sencence translated by _e function. (if you check original source it does not have translation, its without _e). I saw sentence tranlated in the language files, but maybe someone forgot to add _e to the main edit_functions.php file.

Just my 5 cents.. not important issue here [:)]

Re: [flamerz] [fix] for translation

By ross - June 30, 2009

Hi.

Thanks! I'll see about making that change in the program itself so it's part of a future upgrade.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/