dkfbasel / vuex-i18n

Localization plugin for vue.js 2.0 using vuex as store
MIT License
666 stars 56 forks source link

What about provide plugin for debugging content #116

Open VereschakSun opened 4 years ago

VereschakSun commented 4 years ago

Hi. I have some trouble when use this plugin I use webstorm/phpstorm/ When I wrote table like this. My qa manager must to check all thead's in translate file. It;s too long and not comfortably. I think will be grate if you create some plugin or something else for show correct translates for this case. Thank you!

                    <thead>
                    <tr>
                        <th></th>
                        <th>{{$t('thead1')}}</th>
                        <th>{{$t('thead2')}}</th>
                        <th>{{$t('thead3')}}</th>
                        <th>{{$t('thead4')}}</th>
                        <th>{{$t('thead5')}}</th>
                    </tr>
                    </thead>
                   <tbody>....</tbody>
tikiatua commented 4 years ago

Hi @VereschakSun

Thank you for your input. I am absolutely on the same page with you. It is not only tedious for the qa manager but I think also for the developer who needs to manage all the translations.

Writing a plugin for a specific IDE (i.e web storm) is one solution, although we would probably first tackle visual studio code instead of web storm. However, we are currently exploring the use of a specific linter command that would automatically check all translation strings as well as a special frontend plugin, that would allow to explore and adapt translations directly in the user interface.