Пример #1
0
def getLanguageCode():
    if i18n.doesTextExist('#settings:LANGUAGE_CODE'):
        return i18n.makeString('#settings:LANGUAGE_CODE')
Пример #2
0
def getLanguageCode():
    if i18n.doesTextExist("#settings:LANGUAGE_CODE"):
        return i18n.makeString("#settings:LANGUAGE_CODE")
    else:
        return None