-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
include nbjs.json / .mo in source ? #3924
Comments
@takluyver you excluded them initially. |
Aren't only the LC_MESSAGES required for frontend translation? They are included in package_data and I get UI translations when I run
after installing from a wheel |
I did try and it did not work for me locally, If I read correctly there is also some translations in the json files and some translations in the .po files to to get everything translated you need both, and you need both LANG and the browser set to the same value |
I was able to confirm that with what's already packaged, frontend translations do work from a wheel (no files outside locale/xx_YY are used for translations at runtime). This is the result from:
With language settings (chrome): The result, where you can see frontend translations are using zh_CN and backend translations are using fr_FR: So I think with #3931, which fixes the exclusions from sdists, we can release 5.7. Do you agree? |
Yes. Sound good to me. |
Great! Notebook 5.7 is out |
As far as I can tell, with current release process there is no translation included.
We can also make sure they are build into wheels ?
Otherwise there is no frontend translation in released wheel which can be weirdly hard to setup.
The text was updated successfully, but these errors were encountered: