-
-
Notifications
You must be signed in to change notification settings - Fork 463
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
Fixed: Mul file not recognized as such and listing pretty much all languages. #3915
Conversation
There should not be a multilanguage category, the ZIM should appear as in English or French etc... An visually we should have a way to list, in the book description that this is a multilanguage book. Please make a clear proposal before coding. You should take example in library.kiwix.org. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3915 +/- ##
=======================================
Coverage ? 53.32%
Complexity ? 1409
=======================================
Files ? 303
Lines ? 11749
Branches ? 1553
=======================================
Hits ? 6265
Misses ? 4477
Partials ? 1007 ☔ View full report in Codecov by Sentry. |
@kelson42 It is showing under the and also the book has multiple language tags. Also, I have the ted_mul_crowdsourcing_2024-03.zim which was showing under the "Multiple languages" since it has the screen-20240701-121744.mp4So due to these things, I thought it should show under the "Multiple languages".
We have a language code like this in this book (eng,fra,vie,ita,ara,por), we can list this type of book under the first language code that comes in the language tag. So it is better to list this type of book in the English language(Since the default articles are also shown in the English language in this zim file).
@kelson42 I was thinking about this, and IMO we should show that this is a multiple-language book in tags instead of the book description. Since we are showing that this book has (picture, video, short text, etc) it shows the main information about the book, and if we show "Multiple languages" as a tag it will highlight to the user, and the user can easily know that this book is a multi-language book.
Also, we can do the same with the |
Sorry for misguiding you actually. This is a bug there, see kiwix/libkiwix#1098 ... but this is an heritage of the past, the ZIM languages are ordered properly in each language supported. See here for example: |
@MohitMaliDeveloper What you say makes sense and I agree with many parts of your proposal. But the solution of this problem will be in many places:
So can you please just implement the first part so we can merge? |
0f8b593
to
a44b39e
Compare
@kelson42 I have made the changes according to your request and updated the video on PR description for visual reference. |
…nguages. * Showing zim files in all available languages.
Fixes #3892
Showing zim files in all available languages.
screen-20240715-143816.mp4