-
Notifications
You must be signed in to change notification settings - Fork 115
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
[bug] i18next format cannot handle namespaces #1632
Comments
upon creating this ticket i saw the houdini output in the error console. this could mean that the houdini plugin actually is interfering here and not inlang. i will try to investigate this and if so, create an appropiate ticket for houdini. it is although always good to track these kind of incompatibilities in both repos. |
i can confirm it was because houdini was trying to parse the paraglide output js files. putting this into the houdini.config.js file fixed it: const config = {
"watchSchema": {....
....
"exclude" : [
"**/paraglide/**/*.js"<--
],
... |
Hi @eikaramba, Use Paraglide JS does not need namespaces, namespaces via special syntax doesn't work in JS, and the upcoming Unicode MessageFormat 2.0 also won't allow dots (
That is correct. Expect support in the next weeks. If you need pluralization now, I recommend to await the 1.0 release. |
not that i agree with the whole namespace topic, but your plugin does state to support namespaces --> https://inlang.com/m/3i8bor92/plugin-inlang-i18next so the issue still persists or do you say your i18next plugin is currently not working resp. not compatible anymore? |
Neither. We will release #1585 which will resolve this issue. See my very in depth-reply here #1577 (comment) |
I am closing this issue in favor of #1577 |
Problem
the new inlang format lacks quite some features, e.g. namespaces and pluralisation etc. at least i didn't find anything like this.
because my server in my monorepo is using i18next i switched to i18next format but then compiling does not work.
Expected behavior
No response
Reproduction
my inlang config
my folder structure
the compiled messages.js file looks like this
Other information
No response
The text was updated successfully, but these errors were encountered: