public class CrowdinTranslation extends CrowdinFile
CrowdinFile.Type| Constructor and Description |
|---|
CrowdinTranslation(File _file,
String _name,
String _type,
String _project,
String _lang,
CrowdinFile _master,
boolean _shouldBeCleaned) |
| Modifier and Type | Method and Description |
|---|---|
static String |
encodeAndroidLocale(String locale)
tranform xx-XX to xx-rXX
|
static String |
encodeIOSLocale(String locale)
transform en-GB to en_GB
|
static String |
encodeLanguageName(String lang,
boolean isEncode) |
String |
getLang() |
CrowdinFile |
getMaster() |
getCrowdinPath, getFile, getName, getProject, getType, isShouldBeCleanedpublic String getLang()
public CrowdinFile getMaster()
public static String encodeLanguageName(String lang, boolean isEncode)
lang - language nameisEncode - encode _ character in language name if isEncode is true,
decode _ character in language name if isEncode is falsepublic static String encodeAndroidLocale(String locale)
locale - Copyright © 2003–2017 eXo Platform SAS. All rights reserved.