aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/i18n/i18n-utils.ts
blob: 30d65a2a2853dbc1a97fa0acf6dafca945df8680 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                               




                                                                                  
                

 
        
               
               
 
import { environment } from '../../../environments/environment'

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

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

export {
  getDevLocale,
  isOnDevLocale
}