Spittal / vue-i18n-extract

Manage vue-i18n localization with static analysis
https://pixari.github.io/vue-i18n-extract/#what-is-it
MIT License
313 stars 86 forks source link

Improvement : add option to choose the translated value instead of empty string #131

Closed AlaaDq closed 3 years ago

AlaaDq commented 3 years ago

Improvement : add option to choose the translated value instead of empty string

Example: After adding the missing keys I need translated value to be the same key in en-us

 "name" :" " will become "name" :"name" 
 "Good" : " " will become "good" : "good"

And so on.... another case when using $tc('key',3) it better to be extracted as:

 "key" :" " will become "key" :"key|keys" 

because this will reduce time of adding the translation for English keyword

Spittal commented 3 years ago

This PR https://github.com/pixari/vue-i18n-extract/pull/136 will address this.

Spittal commented 3 years ago

Discussion around this issue will continue in #136