-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i18n vue plugin option ? #545
Comments
I am developing in Japanese and Korean, totally agree with you. When the project grows to a certain extent, I have often thought that it would be nice if the i18n was set up at the stage of making the project. I think it's also good for the configuration of creating folders on i18n. |
#548 |
In general, I put my i18n configuration into a separate folder: I keep the translation files in the locales folder: This separation makes it easy to specify the folder containing the translations when using various translation tools:
I find this approach to be more modular. |
Yes it will be more modular in this way, but in this idea why don't moving router.ts in the plugins folder ? |
In the previous vue installer The file was located here :
And the default localeDir was it should be another solution. |
Sounds good to me if we take the example from the i18n vue-cli plugin. |
Please describe
I use vue I18n who is really helpful for Internationalization but he need some configuration and I will really appreciate if I can have an option in create-vue for this, but I checked the code and I'm not qualified to understand it.
Additional context
To make a fast configuration the vue-i18n doc propose to config all in the main.ts but it's more clear to make a local(s) folder with all traductions and import it in the main.ts or use a i18n folder:
Anyone think it will be good idea ?
The text was updated successfully, but these errors were encountered: