Topic: Where is the translation function defined

Hello,

In includes/lang/languages.inc at the bottom the conditional definition of function _($text) is there.

I was wondering where is the actual definition of this function.

PHP gettext extension works with php_extension in php.ini.

www.boxygen.pk

Re: Where is the translation function defined

I wanted to use the translation function for some quick translations. For e.g. some clients they want to see the word dimensions as cost centers. So instead of changing the text in code or adding a translation file I just want to add some quick translations using the translation function.

Any help is appreciated?

www.boxygen.pk

Re: Where is the translation function defined

Create one more language file PO and translate needy texts. And compile mo file and use it in live.

You might use ur_PK.  Try en_PK for that customer and apply it

Subscription service based on FA
HRM CRM POS batch Themes

Re: Where is the translation function defined

Is this translation function _($text) a PHP's internal function?

www.boxygen.pk