From 1c14f73a1df172a3b519bcaac891c71e5a8b1f5e Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 23 Apr 2015 19:04:15 -0700 Subject: [PATCH] GUAC-1053: Use US English as a failsafe. --- .../main/webapp/app/index/config/indexTranslationConfig.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guacamole/src/main/webapp/app/index/config/indexTranslationConfig.js b/guacamole/src/main/webapp/app/index/config/indexTranslationConfig.js index 658b45288..ecc6281a3 100644 --- a/guacamole/src/main/webapp/app/index/config/indexTranslationConfig.js +++ b/guacamole/src/main/webapp/app/index/config/indexTranslationConfig.js @@ -25,9 +25,12 @@ */ angular.module('index').config(['$translateProvider', function($translateProvider) { - // Use US English by default + // TODONT: Use US English by default (this should come from preferences) $translateProvider.preferredLanguage('en_US'); + // Use US English for any undefined strings + $translateProvider.fallbackLanguage('en_US'); + // Load translations from static JSON files $translateProvider.useStaticFilesLoader({ prefix: 'translations/',