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

Add package translation support #517

Merged
merged 23 commits into from Mar 3, 2024
Merged

Add package translation support #517

merged 23 commits into from Mar 3, 2024

Conversation

rubenwardy
Copy link
Member

@rubenwardy rubenwardy commented Feb 25, 2024

Fixes #516 , fixes #507

Engine PR: minetest/minetest#14410

image

image

image

Steps:

  • Add .tr file parser (to MinetestCheck, see where config parser is). With unit tests
  • Add table for holding translations
  • Show translations on view package
  • Show translations on package lists on web interface
  • Show translations on API, if passed locale info
  • Optional: Create empty PackageTranslations based on all locale files, so Languages details is accurate
  • Use translations when searching
  • Add support for translating lang desc
  • Removing a language .tr should clear/delete PackageTranslation

Remaining untranslated

  • QueryBuilder: title sorting
  • Donate: title sorting, title page
  • Homepage query options
  • Shields title
  • User todo: title sorting, template
  • Bulk support names (all_game_support)
  • Profile: title sorting
  • Stats
  • Carousel
  • Collections: create edit
  • Collections: package_add_to.html
  • Collections: view
  • forms.html: package_lists()
  • render_reviews
  • threads: render_threadlist
  • notification
  • package pages titles and more
  • threads list title
  • thread title
  • editor todo
  • zipgrep view results

@rubenwardy rubenwardy changed the title Add Language and PackageTranslation models Add translation support Feb 25, 2024
@rubenwardy rubenwardy changed the title Add translation support Add package translation support Feb 25, 2024
@rubenwardy rubenwardy force-pushed the meta_translation branch 2 times, most recently from ff66dc3 to 3ad0775 Compare February 25, 2024 16:58
@rubenwardy rubenwardy force-pushed the meta_translation branch 2 times, most recently from d7065a4 to 8ce8552 Compare February 25, 2024 21:15
@rubenwardy rubenwardy merged commit 8f9f554 into master Mar 3, 2024
1 of 2 checks passed
@rubenwardy rubenwardy deleted the meta_translation branch March 3, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add translation support for package meta Is there a way to translate mods / games descriptions?
1 participant