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

Support keyPrefix options from react-i18next #719

Open
zog opened this issue Jan 20, 2022 · 11 comments · May be fixed by #770 or #1176
Open

Support keyPrefix options from react-i18next #719

zog opened this issue Jan 20, 2022 · 11 comments · May be fixed by #770 or #1176

Comments

@zog
Copy link

zog commented Jan 20, 2022

Is your feature related to a specific framework or general for this extension
react-i18next

Is your feature request related to a problem? Please describe.
When using the keyPrefix option of useTranslation (https://react.i18next.com/latest/usetranslation-hook#optional-keyprefix-option), keys are marked are not exisiting.

Screenshot from 2022-01-20 10-39-41

Describe the solution you'd like
I'd like i18n-ally to use the keyPrefix in the keys resolution

@karzQ
Copy link

karzQ commented Mar 24, 2022

Regarding the projects I worked on since some months, this feature would be really necessary ..
It's the main wall making me unable to propose this tool to my team as we are working with keyPrefix ..

@PrintNow
Copy link

This feature is really necessary, looking forward to adding

@vovsemenv vovsemenv linked a pull request May 29, 2022 that will close this issue
@vovsemenv
Copy link

@zog @PrintNow @karzQ can you test my pr in your cases? For me it woks just fine

@alich96
Copy link

alich96 commented Jun 29, 2023

Hello, is there already a way in intellij where I can setup i18 ally to look for keyPrefixes in the file? :)

@1000ship
Copy link

Is this still pending?

@terales
Copy link
Collaborator

terales commented Aug 27, 2023

Almost ready, looking for help with fixing the review issues and adding an e2e test:
#770 (review)

@AndreJorgeLopes
Copy link

While it isn't ready, is there any workaround ?

@vovsemenv
Copy link

While it isn't ready, is there any workaround ?

Build and use it just like this)

@Catlike14
Copy link

Almost ready, looking for help with fixing the review issues and adding an e2e test: #770 (review)

Any news?

@carlosmfreitas2409
Copy link

Updates?

@carlosmfreitas2409
Copy link

carlosmfreitas2409 commented Jul 4, 2024

Hey guys!

As I was also interested in this functionality, so I created a PR based on @vovsemenv PR, but with some improvements.
As it appears this extension is not being maintained, I forked it and published it on the Marketplace with my code.

The PR in the repository is: #1176

And you can download the extension here: https://marketplace.visualstudio.com/items?itemName=carlosmeduardo.i18n-ally-pro

ps: you also need to activate the i18n-ally.keyPrefix on settings.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
10 participants