aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorlisacvuk <lisacvukhome@gmail.com>2017-10-28 08:56:10 +0200
committerparamat <mat.gregory@virginmedia.com>2017-10-29 12:05:16 +0000
commitc252ed506eb8324fbdea4b632116c2c7d06a8c9c (patch)
tree153d560f7794c1cf244219e2f643a9dd1a24da55 /doc
parent241fe649f7357271d5c02c3d5f7a987ad7811d6d (diff)
downloadminetest-c252ed506eb8324fbdea4b632116c2c7d06a8c9c.tar.gz
minetest-c252ed506eb8324fbdea4b632116c2c7d06a8c9c.tar.bz2
minetest-c252ed506eb8324fbdea4b632116c2c7d06a8c9c.zip
CSM: Add a way to get current locale from CSM
Diffstat (limited to 'doc')
-rw-r--r--doc/client_lua_api.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md
index fb00ada66..d8e2da69c 100644
--- a/doc/client_lua_api.md
+++ b/doc/client_lua_api.md
@@ -618,6 +618,7 @@ Minetest namespace reference
### Utilities
* `minetest.get_current_modname()`: returns the currently loading mod's name, when we are loading a mod
+* `minetest.get_language()`: returns the currently set gettext language.
* `minetest.get_version()`: returns a table containing components of the
engine version. Components:
* `project`: Name of the project, eg, "Minetest"