Error when using viettnamese language in latest version
dungdao191299 opened this issue · comments
Is your project using a custom font or automatic translation?
Is your project using a custom font or automatic translation?
I am using default font (template in zip download release). That is my original web and not translation.
Can you provide to me what font is used in your project?
am using default font (template in zip download release)
Yes, the default font of Mazer is Nunito. But wait, did you type the words in Vietnamese? Lemme know furthermore.
am using default font (template in zip download release)
Yes, the default font of Mazer is Nunito. But wait, did you type the words in Vietnamese? Lemme know furthermore.
yes, i type vietnamese direcly to html.
i check in old version(2.0), it is have more nunito vietnamese font:
in latest version, have only latin nunito font:
is that problem i am face?
yes, i type vietnamese direcly to html.
i check in old version(2.0), it is have more nunito vietnamese font in latest version, have only latin nunito font
is that problem i am face?
As you can see in old _fonts.scss, the fonts were included with @import
directive, rather than being included directly as in the new of _fonts.scss.
Therefore, if you want to keep it up the Vietnamese fonts, you can do the following steps:
- First of all, clone Mazer repository;
- Next, install its dependencies with
yarn install
; - Once the deps installed, on
src/assets/scss/_fonts.scss
, change the codes just like on the old of _fonts.scss; - After that, you can re-build the assets of Mazer with
npm run build
command; - Finally, open up the builded assets on
dist/assets
folder. Thedist/assets
folder contains same as on the zip release file. You can therefore put it on your own project. - And here we go, your Vietnamese font is going to work properly.
If the issue still persists, please let me know~~
Screenshots
_fonts.scss
Before-after
yes, i type vietnamese direcly to html.
i check in old version(2.0), it is have more nunito vietnamese font in latest version, have only latin nunito font
is that problem i am face?As you can see in old _fonts.scss, the fonts were included with
@import
directive, rather than being included directly as in the new of _fonts.scss.Therefore, if you want to keep it up the Vietnamese fonts, you can do the following steps:
- First of all, clone Mazer repository;
- Next, install its dependencies with
yarn install
;- Once the deps installed, on
src/assets/scss/_fonts.scss
, change the codes just like on the old of _fonts.scss;- After that, you can re-build the assets of Mazer with
npm run build
command;- Finally, open up the builded assets on
dist/assets
folder. Thedist/assets
folder contains same as on the zip release file. You can therefore put it on your own project.- And here we go, your Vietnamese font is going to work properly.
If the issue still persists, please let me know~~
Screenshots
_fonts.scss
Before-after
hi, thank your solution. To be honest, i am newbie in front-end program so i still learning. My level only use vanila js and html , css. I tried your instructions but it still doesn't complete. Can you send me your assets after re-build. I promise i will learn nodejs well after that
yes, i type vietnamese direcly to html.
i check in old version(2.0), it is have more nunito vietnamese font in latest version, have only latin nunito font
is that problem i am face?As you can see in old _fonts.scss, the fonts were included with
@import
directive, rather than being included directly as in the new of _fonts.scss.Therefore, if you want to keep it up the Vietnamese fonts, you can do the following steps:
- First of all, clone Mazer repository;
- Next, install its dependencies with
yarn install
;- Once the deps installed, on
src/assets/scss/_fonts.scss
, change the codes just like on the old of _fonts.scss;- After that, you can re-build the assets of Mazer with
npm run build
command;- Finally, open up the builded assets on
dist/assets
folder. Thedist/assets
folder contains same as on the zip release file. You can therefore put it on your own project.- And here we go, your Vietnamese font is going to work properly.
If the issue still persists, please let me know~~
Screenshots
_fonts.scss
Before-after
it working, thank you so much