njam/nuxt-i18n-module

Language attribute on html not updating

stophecom opened this issue · 2 comments

Happens with Nuxt 2.0. (Release notes: https://nuxtjs.org/guide/release-notes/) E.g. lang=en on <html/> doesn't update according to the language anymore.

njam commented

I can't see any lang attribute on the <html> element at all, neither with Nuxt version 1.4 nor with 2.1.

Not on the DOM:
image

Not in the source code:
image

What am I missing?

BTW I've updated the dependency on Nuxt to version 2 in #31, which seems to work fine.

Oh didn't realise my problem is not related to the module :) Will close

BTW I've updated the dependency on Nuxt to version 2 in #31, which seems to work fine.

yiipiee