dagor.localize

module ‘dagor.localize’

Source files:

prog/gameLibs/quirrel/bindQuirrelEx/localization.cpp

Usage:

let { loc, getLocTextForLang, processHypenationsCN, processHypenationsJP, doesLocTextExist, getCurrentLanguage, getForceLanguage, setLanguageToSettings, getLangId, initLocalization } = require("dagor.localize")

or:

from "dagor.localize" import *
//'dagor.localize' exports:
{
  function loc()
  function getLocTextForLang()
  function processHypenationsCN()
  function processHypenationsJP()
  function doesLocTextExist()
  function getCurrentLanguage()
  function getForceLanguage()
  function setLanguageToSettings()
  function getLangId()
  function initLocalization(arg0, arg1, ...): class_instance, string, any_type -> _undocumented_
}
function loc()
function getLocTextForLang()
function processHypenationsCN()
function processHypenationsJP()
function doesLocTextExist()
function getCurrentLanguage()
function getForceLanguage()
function setLanguageToSettings()
function getLangId()
function initLocalization(arg0, arg1, ...)
Arguments:
  • arg0 (class_instance()) – autodoc from typemask/paramscheck

  • arg1 (string()) – autodoc from typemask/paramscheck

  • ... (any_type()) – this function accepts unlimited arguments

nparamscheck:-2

typecheck mask: any_type, class_instance, string