Translation function ( Locale arg0 ) { Translation loc0 = get ( arg0 . toString ( ) ) ; if ( loc0 == null ) { loc0 = get ( arg0 . getLanguage ( ) ) ; if ( loc0 == null ) loc0 = get ( "srini_string" ) ; } return loc0 ; }
returns the translation object for the specified locale and falls back to english if the locale was not found . concode_field_sep Map<String,String> map concode_elem_sep Locale locale concode_elem_sep Map<String,Translation> translations concode_elem_sep List<String> LOCALES concode_field_sep void add concode_elem_sep int countOccurence concode_elem_sep String getLanguage concode_elem_sep Map<String,String> asMap concode_elem_sep Translation get concode_elem_sep void postImportHook concode_elem_sep void clear concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep Locale getLocale concode_elem_sep TranslationHashMap put concode_elem_sep String tr concode_elem_sep TranslationMap doImport concode_elem_sep TranslationMap doImport concode_elem_sep TranslationHashMap doImport