Skip to content
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

I want to change <html lang="en"> to <html lang="ja">. #178

Open
miracle777 opened this issue Sep 28, 2022 · 2 comments
Open

I want to change <html lang="en"> to <html lang="ja">. #178

miracle777 opened this issue Sep 28, 2022 · 2 comments

Comments

@miracle777
Copy link

miracle777 commented Sep 28, 2022

I am using Sublime text4.
I am using Emmte.
I am using Emmte! and then ctrl+e to expand the HTML document template.

I want to change

<html lang="en"> to <html lang="ja">.

But I can't change it by any method I can find on the net.
In my case, I have settings, but no settings-user.
So, even if I enter the following code into Emmet.sublime.settings.

I would appreciate it if you could tell me where I can modify it to change it to ja.
Thank you in advance.

{
"snippets": {
"variables": {
"lang": "ja",
"locale": "ja-JP",
"charset": "UTF-8",,
"newline": "\n",
"indentation": "\t"
}
}
}
`

@miracle777 miracle777 changed the title I want to change <html lang="en"> to <html lang="en">. I want to change <html lang="en"> to <html lang="ja">. Sep 28, 2022
@sergeche
Copy link
Member

See https://github.com/emmetio/sublime-text-plugin#adding-custom-emmet-snippets

You can update variables like so:

{
    "config": {
        "markup": {
            "variables": {
                "lang": "ja"
            }
        }
    }
}

@miracle777
Copy link
Author

Thank you very much.
It's done.
I appreciate it very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants