ContentDB - now with package translation support
- Neuromancer
- Member
- Posts: 1014
- Joined: Tue Jun 12, 2012 22:28
- GitHub: Neuromancer56
Re: ContentDB - database for the mod/game/txp in-menu installer
I would like to know how many active Minetest Players there are and track it month to month. I think ContentDb could give us a good estimate of that by displaying a chart of the number of unique people who have downloaded anything from it that month. Is it possible to get a chart like that displayed on ContentDb?
- rubenwardy
- Moderator
- Posts: 7025
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: ContentDB - now with package translation support
ContentDB now supports package translations!
The title and short description of a package can now be translated into other languages. This is shown both on the web and inside Minetest (from v5.9+).ContentDB will read translation files (.tr) inside package zip files. To translate the title/description, you will need to add locale files as documented in lua_api.md. If you go to your package > Edit > Translations, ContentDB will attempt to help you with this:
As a free benefit of this work, ContentDB now knows which languages a package supports and whether it has translation support at all.
If you speak multiple languages and are interested in translating packages, you'll probably find the new "Find packages to translate" page helpful.
Other updates
- Optimised thumbnails - thumbnails should be smaller and faster to load. webp is now used.
- You can now see a package/release's download size on the website. You can also see how much storage space your package takes up (there's no quota, but I may delete old releases from packages that are too big)
- Google fonts is no longer used
- Updated to Bootstrap 5
- Can now search for packages with a content warning
- LICENSE(.txt/.md) files are now required
- You can now hide non-free packages on the web interface
- Can now search packages from a game hub
- Many bug fixes
- Nininik
- Member
- Posts: 876
- Joined: Thu Apr 06, 2023 01:55
- GitHub: nininik0
- IRC: nininik
- In-game: nininik
- Location: CA, Team thunderstrike headquarters
- Contact:
Re: ContentDB - now with package translation support
can you please fix the profile picture bug on the ContentDB website?
↯Glory to Team Thunderstrike!↯
↯T.T.S.↯
↯T.T.S.↯
- Linuxdirk
- Member
- Posts: 3247
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: ContentDB - now with package translation support
Imagine Weblate would support that Minetest translations file format! How awesome would that be! Continuous translation built in with modern standard cooperative translation tools!
- rubenwardy
- Moderator
- Posts: 7025
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: ContentDB - now with package translation support
Yeah I agree, support for platforms like Weblate is super important as they make it easier for translators to translate. They don't need to learn how to make a PR
I doubt weblate would accept .tr format support. Instead, this will probably be fixed by adding support for gettext files: https://github.com/minetest/minetest/pull/13687
When this is done, I can easily update ContentDB to support other formats
- Linuxdirk
- Member
- Posts: 3247
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: ContentDB - now with package translation support
This is absolutely fantastic! This will bring i18n ten steps forward once merged! Having plurals is important, but having a good toolchain and an established environment in my opinion is so much more necessary!rubenwardy wrote: ↑Mon Mar 04, 2024 10:00Instead, this will probably be fixed by adding support for gettext files: https://github.com/minetest/minetest/pull/13687
Maybe also add a field for authors to add a link to where people can translate the mod. So not only a Git link and a website link, but also a translation link.rubenwardy wrote: ↑Mon Mar 04, 2024 10:00When this is done, I can easily update ContentDB to support other formats
Maybe even autodetect README.xx.md from the repo and add them as links for a readme in that language.
Oh this will be huge! Imagine mod strings and mod documentation on a Weblate instance, everything fully automated. Users translate the mod, Weblate update the repo, the CDB pulls it and makes a new release – all fully automated … Glorious!
- rubenwardy
- Moderator
- Posts: 7025
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: ContentDB - now with package translation support
This is already supported as part of the recent translations work:
There's also a page where you can find packages accepting translations: https://content.minetest.net/translate/
It would be cool to show translation % on that page, but that requires more engineering work
If you select a language using the language selector on the top right, you can filter by packages that do or don't have a translation for a particular language (but without translation % this is pretty meaningless)
- Linuxdirk
- Member
- Posts: 3247
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: ContentDB - now with package translation support
That’s neat! It’s a bit hidden right now and makes no sense yet, but once we can translate mods with modern translation workflows everything will start being better.
Weblate also has an API for statistics, so no need to reinvent the wheel. If a mod offers a Weblate URL, the CDB could fetch the statistics there, using the Weblate API:
https://hosted.weblate.org/exports/stat ... ormat=json
This gives you all relevant statistics to build graphs for each language the project has translations for :)
Weblate also has an API for statistics, so no need to reinvent the wheel. If a mod offers a Weblate URL, the CDB could fetch the statistics there, using the Weblate API:
https://hosted.weblate.org/exports/stat ... ormat=json
This gives you all relevant statistics to build graphs for each language the project has translations for :)
- rubenwardy
- Moderator
- Posts: 7025
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: ContentDB - now with package translation support
Well, you can translate NodeCore, Piranesi, and Exile on Weblate. They convert to and from other formats to achieve this. For other packages, there's the PR route but that's a bit lame
Thanks for pointing this out! That's very useful, I've made a note of it on the ContentDB translation epic.Linuxdirk wrote: ↑Mon Mar 04, 2024 19:09Weblate also has an API for statistics, so no need to reinvent the wheel. If a mod offers a Weblate URL, the CDB could fetch the statistics there, using the Weblate API:
https://hosted.weblate.org/exports/stat ... ormat=json
This gives you all relevant statistics to build graphs for each language the project has translations for :)
- Linuxdirk
- Member
- Posts: 3247
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: ContentDB - now with package translation support
Both variants are not ideal. Converting back and forth adds one more layer on where things could go wrong and also makes it less automatic and intuitive. And as you mentioned already: translators should not have to deal with PR's and stuff.rubenwardy wrote: ↑Mon Mar 04, 2024 19:18Well, you can translate NodeCore, Piranesi, and Exile on Weblate. They convert to and from other formats to achieve this. For other packages, there's the PR route but that's a bit lame
PR’s are also not ideal for translations because they’re file-based and firing up a Weblate instance (or use an existing one) and adding your translations there automatically makes the translations fully string based.
I think I’ll wait once this PR was merged and MT had a new release with this functionality implemented before I’ll convert all translations to Gettext and make them easily available for translators.
Thanks for the heads-up on this anyways :)
Re: ContentDB - now with package translation support
Exile isn't doing conversion, weblate actually kinda sorta works on Minetest .tr files, using its text format option.
Lead dev of Exile, git repo: https://codeberg.org/Mantar/Exile
- rudzik8
- Member
- Posts: 245
- Joined: Wed Jun 02, 2021 04:13
- GitHub: rudzik8
- In-game: db75c and rudzik8
- Location: Siberia
Re: ContentDB - now with package translation support
[no more relevant]
- TPH
- Member
- Posts: 89
- Joined: Sun Jul 23, 2023 00:49
- IRC: TPH
- In-game: TubberPupper-TubberPupperHusker-TPH
- Location: Ontario, Canada
- Contact:
Re: ContentDB - now with package translation support
Necro-ish bump but I'm having issues with this and I'm not sure where else to comment this It says it has no translation for the description...rubenwardy wrote: ↑Sun Mar 03, 2024 18:20ContentDB now supports package translations!
The title and short description of a package can now be translated into other languages. This is shown both on the web and inside Minetest (from v5.9+).
Despite me providing one here (German): I've tried having no spaces between the "=", and did that newline recently to see if it would fix it. It has not fixed it... What can I do to get this to work?
Unrelated, but yes, the translations are likely not too good - I used google translate + tons of referencing loool (had a French friend verify my French translation so :D).
Your fellow anthro-therian (copper) husky furry :D (hopefully not too cringe lol). How do ye' do?
- rubenwardy
- Moderator
- Posts: 7025
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: ContentDB - now with package translation support
You need to edit `description` in `mod.conf` to match the english source. It currently has this:TPH wrote: ↑Mon May 13, 2024 06:45Necro-ish bump but I'm having issues with this and I'm not sure where else to comment thisrubenwardy wrote: ↑Sun Mar 03, 2024 18:20ContentDB now supports package translations!
The title and short description of a package can now be translated into other languages. This is shown both on the web and inside Minetest (from v5.9+).
translation.PNG
It says it has no translation for the description...
Despite me providing one here (German):
translation2.PNG
I've tried having no spaces between the "=", and did that newline recently to see if it would fix it. It has not fixed it... What can I do to get this to work?
Unrelated, but yes, the translations are likely not too good - I used google translate + tons of referencing loool (had a French friend verify my French translation so :D).
Code: Select all
description = Minecraft-like Eating for Minetest
- TPH
- Member
- Posts: 89
- Joined: Sun Jul 23, 2023 00:49
- IRC: TPH
- In-game: TubberPupper-TubberPupperHusker-TPH
- Location: Ontario, Canada
- Contact:
Re: ContentDB - now with package translation support
Oooh omg did I not remove that??? I thought I did ugh, thank you so much.rubenwardy wrote: ↑Mon May 13, 2024 10:51
You need to edit `description` in `mod.conf` to match the english source. It currently has this:
Code: Select all
description = Minecraft-like Eating for Minetest
Your fellow anthro-therian (copper) husky furry :D (hopefully not too cringe lol). How do ye' do?
- rubenwardy
- Moderator
- Posts: 7025
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: ContentDB - now with package translation support
ContentDB updates
If you'd like to support ContentDB development and hosting costs, you can do so here: https://rubenwardy.com/donate/Highlights
- Releases can now have longer titles and release notes (markdown)
- The game support algorithm has been rewritten to be more reliable. It is no longer experimental
- Multiple packages can have the same repo URL and webhooks can now determine the correct package to update based on branch name.
- Users can now sign up with GitHub
- Added an advanced search page: https://content.minetest.net/packages/advanced-search/
- Complete interface translation - all of contentDB should be translatable now, except for the WYSIWYG markdown editor and help pages.
- Use date for releases created by webhooks
- Fixed webhooks assuming only one package has a repo URL
- Fixed use of GitHub usernames instead of user ids
- Fixed collections showing unapproved packages
- Fixed various issues with forum topic list importing
- Fixed issues and improved UX of claim forums page
- Fixed unlimited package deletion reason field
- Fixed distorted screenshots on package page
- Fixed API tokens being deleted when "limit to package" is changed from a value to empty
- Fixed comment and description lengths being incorrectly calculated due to line endings
- Fixed unnecessary CSRF token expiry
- Fixed pagination and limit when filtering by Minetest version support
- All API errors now return JSON. Before, HTML was sometimes returned
- Email addresses are now required for package authors, so that they can be contacted
- Added disable all button to email notification settings
- UX improvements to creating a package.
- Added a help page on making better package listings: https://content.minetest.net/help/appealing_page/
- Added GitHub disconnect button to user profile
- Added the ability to remove profile pictures
- Added an "Ask a question" button to stop question reviews
- Added the ability to filter packages by license and content flags. Added the ability to filter out tags.
- Added support for translating package tags
- Added support for YouTube thumbnails
- Added languages to reviews
- Added the ability to get Git repos in an API response
- Refactored package approval checks implementation to be more reliable
- Added backend support for the upcoming ContentDB mainmenu redesign
- Removed some obsolete forum topic related features
- Use Sentry instead of email to log errors
- Updated all dependencies (this took a while!)
- Fixed deleting soft-removed packages
- Zughy
- Member
- Posts: 308
- Joined: Thu Mar 26, 2020 18:23
- GitHub: belongs_to_microsoft
- In-game: Zughy
- Location: Italy
- Contact:
Re: ContentDB - now with package translation support
The new "ask a question" button actually opens a thread. It is unfortunate that this feature lacks visibility because it is often off-page due to the length of the sections above it; I sort of believed that it was that way because you didn't want CDB to "compete" with this forum.
My game? It's Minefall.
Re: ContentDB - now with package translation support
I'm not sure if I’ve already mentioned this or if someone else has proposed it, but I think a section dedicated to maps would be very useful on DonTenDB. There are plenty of maps available on the forum or online, but downloading and installing them can be complicated. Why not simplify the process by integrating them directly into the game via a dedicated section?
Additionally, this would make it easier to manage the **compatibility of maps with mods**. With ContentDB, we could know directly which mods are needed or recommended for a specific map, avoiding errors or incompatibilities during installation. Currently, when downloading maps from other sources, it's hard to know if the required mods will be compatible or if everything will work smoothly together.
In short, I believe this is an idea that could really enhance the players’ experience. What do you think?
Additionally, this would make it easier to manage the **compatibility of maps with mods**. With ContentDB, we could know directly which mods are needed or recommended for a specific map, avoiding errors or incompatibilities during installation. Currently, when downloading maps from other sources, it's hard to know if the required mods will be compatible or if everything will work smoothly together.
In short, I believe this is an idea that could really enhance the players’ experience. What do you think?
Sorry for my bad english...
- ROllerozxa
- Member
- Posts: 187
- Joined: Sun Apr 25, 2021 12:25
- GitHub: ROllerozxa
- IRC: ROllerozxa
- In-game: ROllerozxa
- Location: Sweden
- Contact:
Re: ContentDB - now with package translation support
You can bundle up a map along with the mods it needs into a game using modgen. This is what you generally should be doing with adventure maps and the like and will allow them to be published onto ContentDB as a game you can download.Horka wrote: ↑Fri Sep 13, 2024 18:55I'm not sure if I’ve already mentioned this or if someone else has proposed it, but I think a section dedicated to maps would be very useful on DonTenDB. There are plenty of maps available on the forum or online, but downloading and installing them can be complicated. Why not simplify the process by integrating them directly into the game via a dedicated section?
Additionally, this would make it easier to manage the **compatibility of maps with mods**. With ContentDB, we could know directly which mods are needed or recommended for a specific map, avoiding errors or incompatibilities during installation. Currently, when downloading maps from other sources, it's hard to know if the required mods will be compatible or if everything will work smoothly together.
In short, I believe this is an idea that could really enhance the players’ experience. What do you think?
- Deadlock
- Member
- Posts: 61
- Joined: Mon Aug 28, 2017 06:47
- GitHub: Distributed-DeadLock
- In-game: Jimmey
contentdb can't register
Hi,
i tried to register an account at the ContentDB, but am failing.
The ContentDB seems to not find my Forum-account.
I tried the GitHub- and the signature-method multiple times with different browsers.
It always suggests, my forum-account does not exist.
Does anyone have a suggestion on what to do now?
i tried to register an account at the ContentDB, but am failing.
The ContentDB seems to not find my Forum-account.
I tried the GitHub- and the signature-method multiple times with different browsers.
It always suggests, my forum-account does not exist.
Does anyone have a suggestion on what to do now?
cdb_787bb0656a50
- Deadlock
- Member
- Posts: 61
- Joined: Mon Aug 28, 2017 06:47
- GitHub: Distributed-DeadLock
- In-game: Jimmey
ContentDB registration problems
Hi,
now i tried to make an account that is not linked to my forum-profile.
I used the "register with github"-option to create the user "Distributed-DeadLock",
but i am not receiving the confirmation E-Mail.
Please help.
now i tried to make an account that is not linked to my forum-profile.
I used the "register with github"-option to create the user "Distributed-DeadLock",
but i am not receiving the confirmation E-Mail.
Please help.
cdb_787bb0656a50
- Deadlock
- Member
- Posts: 61
- Joined: Mon Aug 28, 2017 06:47
- GitHub: Distributed-DeadLock
- In-game: Jimmey
Re: ContentDB - now with package translation support
The e-mail worked now.
I now have a ContentDB Account (Distributed-DeadLock)
Thanks.
I now have a ContentDB Account (Distributed-DeadLock)
Thanks.
cdb_787bb0656a50