diff options
Diffstat (limited to 'client/src/app/shared/i18n/i18n-utils.ts')
-rw-r--r-- | client/src/app/shared/i18n/i18n-utils.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/client/src/app/shared/i18n/i18n-utils.ts b/client/src/app/shared/i18n/i18n-utils.ts deleted file mode 100644 index 30d65a2a2..000000000 --- a/client/src/app/shared/i18n/i18n-utils.ts +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | import { environment } from '../../../environments/environment' | ||
2 | |||
3 | function isOnDevLocale () { | ||
4 | return environment.production === false && window.location.search === '?lang=fr' | ||
5 | } | ||
6 | |||
7 | function getDevLocale () { | ||
8 | return 'fr-FR' | ||
9 | } | ||
10 | |||
11 | export { | ||
12 | getDevLocale, | ||
13 | isOnDevLocale | ||
14 | } | ||