- Use Cases
- Try free demo
Search our growing knowledge base for helpful resources like articles, videos, and GIFs to master your online directory website software as quickly as possible or to learn more about how it all works here at eDirectory.com. Anything need to be updated? Let us know here!
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_ARTICLE", "Click here to edit this ".ARTICLE_FEATURE_NAME);
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?
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,
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!
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.