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

Docs: vscode i18n-ally integration needs additional steps. #653

Closed
mvartuc opened this issue Apr 4, 2023 · 1 comment
Closed

Docs: vscode i18n-ally integration needs additional steps. #653

mvartuc opened this issue Apr 4, 2023 · 1 comment

Comments

@mvartuc
Copy link

mvartuc commented Apr 4, 2023

I've integrated i18n-ally extension exactly like in the docs but I was getting the error mentioned here: lokalise/i18n-ally#709

They've provided a solution in that issue which is:

cd ~/.vscode/ extensions/lokalise.i18n-ally-2.8.1/
yarn add -D ts-node

After doing that, I was getting the error mentioned here:
lokalise/i18n-ally#709 (comment)

The solution to that is to add a phantom package.json file :
touch src/i18n/package.json

I made a file like this (maybe it could be empty and still work?)
{ "name": "phantom-i18n" }

And that finally fixed it. Seems like a lot of work to integrate it, hope the extension gets updated/forked in the near future.

@ivanhofer
Copy link
Owner

Can you please add a comment with your workaround here: lokalise/i18n-ally#678?

i18n-ally is unmaintained and the official support for typesafe-i18n won't get merged.
I don't want to spend my time on those issues anymore.

In the future you should take a look at https://inlang.com/, which will offer an IDE extension soon that can be replac som ekey functionality of i18n-ally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants