]>
Commit | Line | Data |
---|---|---|
67ed6552 | 1 | import { environment } from '../../environments/environment' |
74b7c6d4 | 2 | |
74b7c6d4 C |
3 | function isOnDevLocale () { |
4 | return environment.production === false && window.location.search === '?lang=fr' | |
5 | } | |
6 | ||
7 | function getDevLocale () { | |
c0ffdd09 | 8 | return 'fr-FR' |
74b7c6d4 C |
9 | } |
10 | ||
7ce44a74 | 11 | export { |
74b7c6d4 | 12 | getDevLocale, |
3dfa8494 | 13 | isOnDevLocale |
7ce44a74 | 14 | } |