aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/helpers/i18n-utils.ts
blob: bbfb1295943eea93ed57ed814d8a1852e3fa972e (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
}