Why use xl() function?

simpleone81 wrote on Thursday, December 26, 2013:

I am looking at some of the source code and it appears that xl(string s) will always return the exact string s? Then why do we still use this function? we could just use the literal string s instead, right?

Just curious… Can anyone comment on this? thanks.

openemrdev wrote on Thursday, December 26, 2013:

Xl function used for translations

see the latest for translation

visolveemr wrote on Thursday, December 26, 2013:

Hi
The main php function used for translation is xl(), basically all of labels and messages have to go through this function.
It is the standard translation function. You can find more details here.

The related detailed discussion can be found in this thread.

Thanks
OpenEMR Customization/Support provider,
ViSolve Inc
services@visolve.com

simpleone81 wrote on Friday, December 27, 2013:

I see. thanks.