How can we help you

eDirectory v10.2 Language File Edits

Steven Noe Feb 01, 2014 06:31AM BRST

It's a bit unclear as to what, exactly can be edited in the language file(s).

Can one change the existing file, as example, from:



define("LANG_MSG_CLICK_TO_EDIT_THIS_NEWS", "Click here to edit this ".NEW_FEATURE_NAME);


Or, can only "Click here to edit this " be changed?

If I wanted to globally change ARTICLE to NEWS, for example, can I change all instances of the word ARTICLE in the en_us language file to NEWS?

Up -2 Rated Down
Gibelle Magdirila Feb 03, 2014 04:53AM BRST Support Agent

Hi Steven,

If you want to have a new constant, please define a new one like this,

define(“LANG_MSG_CLICK_TO_EDIT_THIS_NEWS”, "Click here to edit this ".NEW_FEATURE_NAME);

given that the NEW_FEATURE_NAME constant has been defined as well like,

define(“NEW_FEATURE_NAME”, “News”);

If you want to globally change the Article to News, you can change all instance of ‘Article’ in en_us and en_us_sitemgr files to ‘News’.

Please let us know if you need further assistance on this or you need clarifications. Have a great day!

Up 12 Rated Down
Steven Noe Feb 05, 2014 04:57AM BRST

Awesome! Thanks for posting your reply. If we have a multi-domain installation (several installs on owned source code), is the language file updating a single instance or is it global?

Up 3 Rated Down
Gibelle Magdirila Feb 05, 2014 05:03AM BRST Support Agent

Hi Steven,

If you have a add-on sites, when you edit a language file under a specific domain via your Site Manager, a language file will be saved under that domain which means that it will not be global.

Please let us know if you still have questions regarding languages.

This question is closed to new answers.

Didn’t find what you wanted?