Skip to content

Supporting i18n tag #127

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

Closed
wants to merge 1 commit into from
Closed

Supporting i18n tag #127

wants to merge 1 commit into from

Conversation

ycmjason
Copy link

@ycmjason ycmjason commented Jan 4, 2019

Although i18n is not an official package, it is quite a popular package in the Vue ecosystem. It might be worth to add support for <i18n>.

https://kazupon.github.io/vue-i18n/guide/sfc.html

@posva
Copy link
Owner

posva commented Jan 5, 2019

This could be nice indeed!

@adriaanzon
Copy link
Collaborator

I would like to hold off on adding new languages until there is a solution to the slowness problem mentioned in #97. Until then, this will add up to the languages being loaded, which will make editing Vue files slower.

@adriaanzon adriaanzon added the pending Waiting for a feature/bugfix before this can be implemented label Jan 5, 2019
@posva
Copy link
Owner

posva commented Jan 5, 2019

I see, I didn't know it would affect the slowness, I'm glad you thought about it 🙂

@babelfish
Copy link

I was just doing this... should have checked to see if there was a PR for it. Would've saved me a lot of irritation dealing with Vim script. Assuming this ever gets merged, I would suggest using YAML for the i18n block syntax highlighting. Since YAML is a superset of JSON it will be able to highlight the i18n block whether you're using the default of JSON or have it configured to use YAML.

@ycmjason ycmjason closed this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending Waiting for a feature/bugfix before this can be implemented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants