aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/helpers/i18n-utils.ts
blob: bbfb1295943eea93ed57ed814d8a1852e3fa972e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { environment } from '../../environments/environment'

function isOnDevLocale () {
  return environment.production === false && window.location.search === '?lang=fr'
}

function getDevLocale () {
  return 'fr-FR'
}

export {
  getDevLocale,
  isOnDevLocale
}