Commit ea33ce154f7dc6c5576f6d7086a5dab53acbc878
1 parent
def29174
Add Fallback to English language for missing translations.
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -49,6 +49,7 @@ export default function AppConfig($provide, | @@ -49,6 +49,7 @@ export default function AppConfig($provide, | ||
49 | $translateProvider.useSanitizeValueStrategy(null); | 49 | $translateProvider.useSanitizeValueStrategy(null); |
50 | $translateProvider.useMissingTranslationHandler('tbMissingTranslationHandler'); | 50 | $translateProvider.useMissingTranslationHandler('tbMissingTranslationHandler'); |
51 | $translateProvider.addInterpolation('$translateMessageFormatInterpolation'); | 51 | $translateProvider.addInterpolation('$translateMessageFormatInterpolation'); |
52 | + $translateProvider.fallbackLanguage('en_US'); | ||
52 | 53 | ||
53 | addLocaleKorean(locales); | 54 | addLocaleKorean(locales); |
54 | addLocaleChinese(locales); | 55 | addLocaleChinese(locales); |