-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
Import File doesn't work with bigger PO files #1071
Comments
Have you tried with MAUI branch? |
I have had this also with Blazor in Server mode, it should work fine with WASM, it did for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I encountered an issue that I can not import my PO files using the admin page if the file exceeds 32256 bytes.
In this screenshot, on the left is my en-US.po file, it is processed correctly until the Start {0} entry begins.
In the bottom, you can see the byte list of the MemoryStream representing the file within the Translations.cs file in the bottom ends with 0x00 values at that point.
The buffer is the correct length, but the next 10k bytes are all 0x00.
Within the LocalizationController, you can see that the received text stops mid PO entry:
I try to rearrange the PO file entries, but it will always set everything to 0x00 after 32256 bytes.
My PO file works with Poedit:
Here is my PO file:
https://github.com/hochschule-darmstadt/MetaAutoML/blob/main/frontend/src/Server/BlazorBoilerplate.Server/Localization/en-US.po
The text was updated successfully, but these errors were encountered: