Skip to content

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