From d168b0f9aeba57ceb18c0908e7e00961e446bf68 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 12 Aug 2018 21:01:23 +0800 Subject: [PATCH] fix an issue that might get twice language files --- src/scripts/config/configuration.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/scripts/config/configuration.js b/src/scripts/config/configuration.js index 698ddce..62bcdaa 100644 --- a/src/scripts/config/configuration.js +++ b/src/scripts/config/configuration.js @@ -35,7 +35,6 @@ $translateProvider.useLoader('ariaNgLanguageLoader') .useLoaderCache(true) .registerAvailableLanguageKeys(supportedLangs, languageAliases) - .determinePreferredLanguage() .fallbackLanguage(ariaNgConstants.defaultLanguage) .useSanitizeValueStrategy('escapeParameters');