public Map < String , String > getDefaultLanguage ( String appid ) { if ( ! LANG_CACHE . containsKey ( getDefaultLanguageCode ( ) ) ) { logger . info ( "Default language map not set, loading English." ) ; Map < String , String > deflang = readLanguageFromFile ( appid , getDefaultLanguageCode ( ) ) ; if ( deflang != null && ! deflang . isEmpty ( ) ) { LANG_CACHE . put ( getDefaultLanguageCode ( ) , deflang ) ; return Collections . unmodifiableMap ( deflang ) ; } } return Collections . unmodifiableMap ( LANG_CACHE . get ( getDefaultLanguageCode ( ) ) ) ; }
Returns the default language map .