avatar
setting

Guest 708 22nd Jun, 2023

TypeScript 0.41 KB
export const fallbackLng = 'vi'
export const languages = [fallbackLng, 'en']
export const defaultNS = 'translation'

export function getOptions(lng = fallbackLng, ns: string | string[] = defaultNS) {
  return {
    // debug: true,
    supportedLngs: languages,
    // preload: languages,
    fallbackLng,
    lng,
    fallbackNS: defaultNS,
    defaultNS,
    ns,
  }
}
TypeScript
Description

No description

To share this paste please copy this url and send to your friends
RAW Paste Data