25class API_AUI_CORE ALanguageCode {
30 ALanguageCode(
const AString& str);
31 ALanguageCode(
const char* str): ALanguageCode(
AString(str)) {}
35 return AString(mGroup[0]) + mGroup[1] +
"-" + mSubGroup[0] + mSubGroup[1];
40 return AString(mGroup, mGroup + 2);
45 return AString(mSubGroup, mSubGroup + 2);