linked message translates the translated message
See original GitHub issuevue & vue-i18n version
2.5.17, 8.4.0
I dont know if it is the expected behavior the linked message translates the translated message
Reproduction
{
"hello": "Hello {name}",
"linkedHello": "@:hello"
}
<p>{{ $t('hello', { name: 'World {text}' }) }}</p>
- good
<p>{{ $t('hello', { name: 'World {text}', text: 'something' }) }}</p>
- good
<p>{{ $t('linkedHello', { name: 'World {text}' }) }}</p>
- bad
<p>{{ $t('linkedHello', { name: 'World {text}', text: 'something' }) }}</p>
- bad
What is Expected?
<p>Hello World {text}</p>
What is actually happening?
<p>Hello World {text}</p>
- good
<p>Hello World {text}</p>
- good
<p>Hello World </p>
- bad
<p>Hello World something</p>
- bad
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Translate messages from another language - LinkedIn
The message is translated to the app language that you set. To reset the message, choose See original message. The Translate feature works...
Read more >See Post Translations on Your LinkedIn Feed
To see the translated version of a post, click See Translation below the post. Note: The translated language displayed is determined by factors ......
Read more >Unveiling Translations in the LinkedIn Feed: Keep in Touch ...
The “See Translation” feature is available in more than 60 languages including Spanish, Japanese, and German to a majority of global members on ......
Read more >Translate Message Center messages - Microsoft 365 Tutorial
Even so, the messages within the message center are displayed in English. Fortunately, Office 365 has the ability to automatically translate these messages...
Read more >LinkedIn profile translation – why it's important for your online ...
LinkedIn profile translation is quick and easy. ... more profile views than one without and is 36 times more likely to receive a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Refer development setup. https://github.com/kazupon/vue-i18n/blob/dev/CONTRIBUTING.md#development-setup
It tells how to setup test environment and how to run tests.
Do you mean: you want to test new changes added to vue-i18n (not vue) on your web page?
npm run build
dist
directory.But you don’t need to do so.
vue-i18n
has end-2-end test which runs tests on web browser using Selenium. If you add new tests (and maybe updating existing tests), Selenium runs tests on browsers automatically.@gurungrahul2 I migth have something on my old attempt…
https://github.com/kimuraz/vue-i18n/commit/e3c11c019f367c4040f2fbed822465312756c9c9