]>
Commit | Line | Data |
---|---|---|
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 | } |