Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How control the internationalization coverage? #1978

Open
chefjuanpi opened this issue Oct 24, 2019 · 3 comments
Open

How control the internationalization coverage? #1978

chefjuanpi opened this issue Oct 24, 2019 · 3 comments
Labels
good first issue Good for newcomers type: feature request Request to add a new feature

Comments

@chefjuanpi
Copy link

chefjuanpi commented Oct 24, 2019

Feature request

What problem does this feature solve?

Internationalization in VuePress is nice, easy to use and understand but I can't find any way to manage the "Internationalization coverage".

Let's show an example,
Today we finish to translate all the docs to French (french coverage 100%)
Tomorrow someone update or add a new file at the base docs.
The french version becomes inacurate, outdated or incomplete

I think it should be nice has an alert when an Internationalization need to be updated.

What does the proposed API look like?

maybe during the dev build verify if exist internationalizations and show some warnings like:

  • file "X" in (languaje) need to be updated
  • file "Y" is not translate to (languaje)
  • (count) of files are translate to (languaje), your coverage in (languaje) is %

How should this be implemented in your opinion?

I think is possible to use the commits.

The translations should be done after the base language files are write.
The vuepress guide show to keep the same file name in the other languajes as a good practice so maybe it's possible use this info to validate if a file in a translation languaje was commited after to the last change of the same file in the base languaje.
Same for the coverage, verify if all files appears in a translation language.

Are you willing to work on this yourself?

not sure

@chefjuanpi chefjuanpi changed the title Control the internationalisation coverage? How control the internationalization coverage? Oct 25, 2019
@ulivz ulivz added good first issue Good for newcomers type: feature request Request to add a new feature labels Oct 25, 2019
@agamkrbit
Copy link

can I pick this ?

@agamkrbit
Copy link

is it still open ?

@Juninhoww2
Copy link

Yes @agamkrbit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers type: feature request Request to add a new feature
Projects
None yet
Development

No branches or pull requests

4 participants