Module:Lang/doc: Difference between revisions

Line 6: Line 6:
Localizes a given string to the current language, i.e. [[Data:Lang_en.json]] for english.
Localizes a given string to the current language, i.e. [[Data:Lang_en.json]] for english.


Note: If you need to get a string that uses a function referenced in another Data page, use the <code>process_variables</code> function from [[Module:Utilities]] instead.
Note: If you need to get a string that uses a value referenced from another Data page, use the <code>process_variables</code> function from [[Module:Utilities]] instead.


===Parameters===
===Parameters===