backdrop-ops / localize.backdropcms.org

Host translation files for Backdrop CMS.
2 stars 4 forks source link

Add core releases and source files #27

Open olafgrabienski opened 5 years ago

olafgrabienski commented 5 years ago

The translation server needs a new language source file for every Backdrop release, and we have to make a translation release of it. We're planning to generate the language files automatically. For the time being, I will generate the files and make respective translation releases, when a new minor Backdrop version is released.

How to:

Releases:

Older releases, deleted because of display issues with too many releases:

olafgrabienski commented 5 years ago

Question: Does it make sense to add all releases?

serundeputy commented 5 years ago

I don't think we need all the old releases.

jenlampton commented 5 years ago

It also doesn't make sense to add a release for translations, for each bug-fix release of Backdrop. All the bug-fix releases of Backdrop are likely to have nearly the exact same strings.

We should have a release for each minor version (1.1, 1.2, 1.3, etc) and I agree with @serundeputy that perhaps we should only show the 3 latest releases, since only 2 of those are officially "supported".

I'm looking into the code in the packager module to see if there's a way we can limit the overview page (https://localize.backdropcms.org/translate/downloads) to the 3 latest releases, but also provide a way for people to get to older releases, if necessary.

olafgrabienski commented 5 years ago

It also doesn't make sense to add a release for translations, for each bug-fix release of Backdrop. (...) We should have a release for each minor version (...) and I agree (...) that perhaps we should only show the 3 latest releases, but also provide a way for people to get to older releases, if necessary.

Agreed! I saw that the releases now have names like 1.13, 1.12 and so on, nice! (Did you just rename the minor releases?)

olafgrabienski commented 5 years ago

When we generate the language files automatically, I'd however prefer to add also bugfix releases, as there might be additional strings in such releases, and we won't have extra work to add them.

jenlampton commented 5 years ago

Did you just rename the minor releases?

yep, you caught me ;)

I'd however prefer to add also bugfix releases, as there might be additional strings in such releases, and we won't have extra work to add them.

That's what I was thinking too. But after we generate the files, we can add the updated strings for 1.13.2 to the 1.13 release :)

klonos commented 5 years ago

...after we generate the files, we can add the updated strings for 1.13.2 to the 1.13 release :)

Well, then how does one that has the 1.13 version of a translation know that there has been an updated version of it, that includes new strings? Should we be including a date/timestamp in their filename (the new regex in https://github.com/backdrop/backdrop-issues/issues/3974 should handle that)?

I think that long-term, we should have language translations be proper projects, with proper .info files, and proper versioning too. I think I would like to see something like a backdrop-1.13-0.0.1.it.po (for core), and devel-1.7.0-0.0.1.it.po. ...and I would ultimately like to see those handled by the Project Installer at some point too, so that people can install/update/remove translations via a familiar UI.

jenlampton commented 3 years ago

@klonos I love this vision!

herbdool commented 3 years ago

I've come to this while trying to port l10n_update and noticing the filenames don't match what is expected with its patterns matching. I'm not sure if it'll fallback to an earlier version or not. It's a complicated module. But hope that we can keep things stable here so we don't need to make any major changes to l10n_update (which is pretty useful for anyone trying to keep on top of new translations).

olafgrabienski commented 3 years ago

@herbdool Thanks for your message! Is already clear which filenames are supported l10n_update?

olafgrabienski commented 3 years ago

I'm looking into the code in the packager module to see if there's a way we can limit the overview page (https://localize.backdropcms.org/translate/downloads) to the 3 latest releases, but also provide a way for people to get to older releases, if necessary.

@jenlampton In the meantime, the Download page is brimming with releases which even leads to display issues. Can you maybe have a look for a way to limit it to the latest releases?

olafgrabienski commented 3 years ago

With the 1.20 release, the Download page got even more crowded. I've deleted most of the older releases now, so that the list shows only the last four minor releases.

In the meantime, the Download page is brimming with releases which even leads to display issues.