Search Results

Search found 1 results on 1 pages for 'wesamly'.

Page 1/1 | 1 

  • php constant with gettext

    - by wesamly
    I am using config file which contains: config.php define('SYS_TITLE','My Application Title'); I load language local for gettext based on SESSION variable in another file included after the config file is loaded. something like: echo _(SYS_TITLE); What is the best way to translate the SYS_TITLE without changing much of the code.

    Read the article

1