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

Sub of #1712: What is the best way to extract translation keys from Vue components? #1713

Closed
miguelvaara opened this issue Dec 10, 2024 · 0 comments · Fixed by #1716
Closed
Assignees
Milestone

Comments

@miguelvaara
Copy link
Contributor

Description of the enhancement

Sub-issue of the issue #1712

With Symfony's console, it is possible to extract new translation keys from both PHP code and Twig templates. However similar functionality is needed for Vue components in the frontend. In previous inside discussions, it has been suggested that the vue-i18n library (https://kazupon.github.io/vue-i18n/) might be required to achieve this. It needs to be determined whether this library is necessary or if there is another effective and as generic as possible method to implement the extraction of translation keys from Vue components (maybe some general method for JavaScript files?).

Who are the users that would benefit from the enhancement and how?

Skosmos users and Skosmos developers

(Name specific organizations, roles and/or communities if possible, and/or point to relevant discussion elsewhere)

What new functionalities would the enhancement make possible?

Extraction of language keys from Vue components

Why is the enhancement important?

Translation functionalities should be as user-friendly, intuitive, and effective as possible to encourage developers to utilize language features that improve usability.

(Why should this be prioritized, instead of spending energy on something else? Who would do the work to make this happen?)

@miguelvaara miguelvaara self-assigned this Dec 10, 2024
@github-project-automation github-project-automation bot moved this to Proposed Skosmos 3.0 issues (to do) in Skosmos 3.0 Backlog Dec 10, 2024
@miguelvaara miguelvaara moved this from Proposed Skosmos 3.0 issues (to do) to Current sprint backlog in Skosmos 3.0 Backlog Dec 10, 2024
@miguelvaara miguelvaara added this to the 3.0 milestone Dec 10, 2024
@miguelvaara miguelvaara moved this from Current sprint backlog to In progress in Skosmos 3.0 Backlog Dec 11, 2024
miguelvaara added a commit that referenced this issue Dec 12, 2024
…-to-extract-translation-keys-from-vue-components

Extract Translation Keys from JavaScript Files (#1713)
@github-project-automation github-project-automation bot moved this from In progress to Issue/PR closed in Skosmos 3.0 Backlog Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issue/PR closed
Development

Successfully merging a pull request may close this issue.

1 participant