-
Notifications
You must be signed in to change notification settings - Fork 1
reference:U getLang
Aaron Junker edited this page Apr 24, 2021
·
3 revisions
- since Pb2.0Bfx0RCA
- returns
string
- in file
(root)
/includes
/functions
/getLang.inc.php
Returns a translated string. It always returns the string of the current language set in the site.lang
setting.
If the string isn't translated it returns the English string.
If the string can't be found it throws an exception.
It takes the string from /lang/{language-code}.json
.
The name of the string.
The translated string.
$U->getString("errors.404");
Manuals
- manual:Download-and-install-USOC
- manual:How to install USOC manually
- manual:plugins
- manual:Set-up-oAuth-with-google
Github Manuals
Reference Index