Skip to content
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

Provide localised title/description ZIM metadata #148

Closed
kelson42 opened this issue Feb 26, 2022 · 8 comments
Closed

Provide localised title/description ZIM metadata #148

kelson42 opened this issue Feb 26, 2022 · 8 comments

Comments

@kelson42
Copy link
Contributor

Currently the Gutenberg ZIM we produce share the exact same ZIM title/description metadata (in English)

image

This, although:

  • we already have a UI translated in a few languages
  • the scraper allows to customize it

I think we should either introduce translated versions of these metadata or split the recipe in Zimfarm https://farm.openzim.org/recipes/gutenberg_mul_all.

@rgaudin Not sure what is the best approach

@rgaudin
Copy link
Member

rgaudin commented Feb 26, 2022

I'd advise the scraper handles this (best effort) ; keeping in mind we have the CMS.

Scraper could have a limited map of Title/Description for languages and fallback to what we have now. In any way, we'd need an Erik-provided Title and Description for English that we can translate in major languages.

As the number of languages is already important, we could imagine attempting translations using an online service but most require an API key, Libretranslate doesn't support much languages (and it's only the major ones we could get translations for) and even Google or Microsoft wouldn't support them all.

@kelson42
Copy link
Contributor Author

@rgaudin OK, it would be good that these two strings are besides the others.
@eshellman Any comment on this? You see in the screenshot how it is today? Do you have a source of translated strings which would be better?

@eshellman
Copy link
Collaborator

No, but I think the community could generate such a list in a few weeks.

@eshellman
Copy link
Collaborator

so the strings to be translates would be Title: "Project Gutenberg Library - Books in " and Description: "The first producer of Free Ebooks" (or something better). ?

@kelson42 kelson42 modified the milestones: 1.1.9, 1.2.0 Mar 11, 2022
@stale
Copy link

stale bot commented Jun 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@stale stale bot added the stale label Jun 12, 2022
@kelson42
Copy link
Contributor Author

Best handled with Translatewiki I guess.

@kelson42
Copy link
Contributor Author

We just need here to have the strings in the translation files. Trivial.

@kelson42 kelson42 removed the question label Feb 26, 2023
@kelson42 kelson42 modified the milestones: 2.0.0, 2.1.0 Feb 26, 2023
@kelson42 kelson42 self-assigned this Mar 11, 2023
@kelson42
Copy link
Contributor Author

@rgaudin I want to fix this ASAP now. If I implement #56, does that will work out of the box?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants