-
-
Notifications
You must be signed in to change notification settings - Fork 41
Translation generation? #35
Comments
it could be a track : https://vue-starter.herokuapp.com/docs/docs/npm-scripts.html#development |
Hi! Currently I’m writing a small and simple script to manage it with static analysis, you can find it here: vue-i18n-extract My goal is to have something that analyses code statically for key usages in order to:
The core part is done. Should we think about an integration in the next future? Feel free to have a look and give feedbacks :) |
@pixari
from I'll plan to develop similar some features to you that improves DX at vue-cli-plugin-i18n. If your project can also provide an API, maybe, I'll easily to integrate. |
Hello @kazupon, that's great. I plan the following API:
You need something else or something more specific, feel free to open one or more issues. ==> https://github.com/pixari/vue-i18n-extract/issues |
Hello @kazupon, vue-i18n-extract made some progress. The first API are up and running:
In next days I will provide real documentation and I will implement other API. https://github.com/pixari/vue-i18n-extract Cheers. |
@pixari |
move to vue-cli-plugin-i18n, due to be able to provide i18n command of CLI Service. |
This is a topic of huge interest for me. Do you need help somehow? Testing, documenting, anything I could do? |
@erickwilder |
Thanks @erickwilder. @kazupon: this week I'm going to do all the open issues. |
@pixari |
@erickwilder The core part is done. It would be great if you would like to help me! |
@pixari |
Perfect! I'm looking forward to it. |
Hi guys. Today I write this feature on python. It works like, Django |
What about a translation generator command?
The goal is to permit the user to write translation keys or raw language text directly on the template like
$t('hello !')
and then the command extract the translation and push it on the files for you.Here is a PHP example: https://symfony.com/doc/current/translation.html#extracting-translation-contents-and-updating-catalogs-automatically
WDYT?
The text was updated successfully, but these errors were encountered: