Skip to content
This repository was archived by the owner on Mar 21, 2021. It is now read-only.

Setting page title shows no I18n information. #642

Closed
china-fengguan opened this issue Jul 21, 2020 · 1 comment · Fixed by jhipster/generator-jhipster#12141
Closed

Setting page title shows no I18n information. #642

china-fengguan opened this issue Jul 21, 2020 · 1 comment · Fixed by jhipster/generator-jhipster#12141

Comments

@china-fengguan
Copy link

china-fengguan commented Jul 21, 2020

Jason file isn't translated on user setting page in the latest version.

jhipster-vuejs/generators/client/templates/vue/src/main/webapp/app/account/settings/settings.vue.ejs

<span v-bind:value="$t('settings.title')">User settings for [<b>{{username}}</b>]</span>
should be changed to:
<span v-html="$t('settings.title')">User settings for [<b>{{username}}</b>]</span>

the fix works for me.
FYI.

@pascalgrimaud
Copy link
Member

Thanks for reporting this @china-fengguan
FYI, Vue.js has been integrated to main generator-jhipster

So I apply your fix there: jhipster/generator-jhipster#12141

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

Successfully merging a pull request may close this issue.

2 participants