-
Notifications
You must be signed in to change notification settings - Fork 34
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
Improved support for non-Latin language inclusion in report PDFs, and validate translations for new phrases and new languages #417
Labels
enhancement
New feature or request
Comments
carlhiggs
referenced
this issue
Apr 24, 2024
…an, Hindi, Tamil script etc) via uharfbuzz cpython module; had to install gcc and g++ for this to work on the arm64 build; also updated Jupyter Lab start alias as per #399. Also added new languages and auto-translations of these in anticipation of translation validation, in support of #367. This image hasn't been fully tested yet, and more language features require implementation (e.g. right to left template support for Arabic and Persian; needs to be added as new issue)
carlhiggs
referenced
this issue
Apr 24, 2024
carlhiggs
added a commit
that referenced
this issue
Apr 29, 2024
… reports in general with additional template refinements following feedback; also implemented a 'download_file()' function, currently only applied for fonts, it could be extended to be used for other dataset types, as per #418
carlhiggs
added a commit
that referenced
this issue
Apr 29, 2024
…ally verbose phrases that frequently fail, for #417
carlhiggs
added a commit
that referenced
this issue
Apr 30, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When producing our 25 city reports, we experienced issues supporting some non-Latin scripts like Tamil:
global-healthy-liveable-cities/global_scorecards#7
However, the PDF templating software we use (fpdf2) has recently implemented changes that should provide better support for non-Latin languages:
https://py-pdf.github.io/fpdf2/Unicode.html#note-on-non-latin-languages
To take advantage of this though, we will need to implement and test changes to our software:
The text was updated successfully, but these errors were encountered: