Translate ActionSheet

anything wrong with this?

.config(function($translateProvider) {

$translateProvider.useStaticFilesLoader({
    prefix: 'language/locale-',
    suffix: '.json'
});

$translateProvider.registerAvailableLanguageKeys(['en', 'de', 'fr', 'it'], {
    'en-US': 'en',
    'en-UK': 'en',
    'de-DE': 'de',
    'de-CH': 'de',
    'fr-FR': 'fr',
    'it-IT': 'it',
});

$translateProvider.uniformLanguageTag('bcp47');
$translateProvider.determinePreferredLanguage();
$translateProvider.useSanitizeValueStrategy('escaped');
$translateProvider.fallbackLanguage('en');
$translateProvider.useLocalStorage();

}}

well I guess it dosn’t matter since $translateProvider.determinePreferredLanguage(); fixes this problem on the device.

You need to ask someone hat using new version i’m using some old one :stuck_out_tongue:
But remember Debugger is your friend;P