I have installed ng2-i18next in my Visual Studio web project using npm, and can import and reference module succesfully like such:
import { I18nService, I18nServiceConfig } from 'ng2-i18next';
But I'm unsure how to continue when I get to the step in the instructions which reads:
Your locales have to be placed, for each language , in src/locales//translation.json .
I know CLI projects have this structure, but my project doesn't. Is there a way to specify the path to the translation files? Can I still use the i18next initialization methods to reference a file or url?
I have installed ng2-i18next in my Visual Studio web project using npm, and can import and reference module succesfully like such:
But I'm unsure how to continue when I get to the step in the instructions which reads:
I know CLI projects have this structure, but my project doesn't. Is there a way to specify the path to the translation files? Can I still use the i18next initialization methods to reference a file or url?
Thanks!