Open Bug 1951305 Opened 4 months ago Updated 3 months ago

Migrate the last .inc localization file to Fluent or another format

Categories

(SeaMonkey :: General, task)

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: eemeli, Assigned: iannbugzilla)

References

Details

Attachments

(1 file)

After bug 1951101, suite/locales/en-US/profile/bookmarks.inc is the one final .inc file that is used for localization via Pontoon. If it's migrated to Fluent or any of our other supported formats (including DTD), we could drop support for the entire .inc file format, which would be Really Nice.

The file is used by suite/locales/Makefile.in to fill out the template for bookmarks.html.

Migrate to properties file for the short term

Assignee: nobody → iannbugzilla
Status: NEW → ASSIGNED
Attachment #9470112 - Flags: review?(frgrahl)

Eemili,
the patch from IanN causes a compile error. Need to think about it a bit more to cover bookmarks.extra also. Is it possible to just add an ignore *.inc to .l10n-ignore so that you can remove the inc support. This rarely changes anyway and if we additionally add the properties we can fix it up manually if needed.

Flags: needinfo?(earo)

No longer considering bookmarks.inc as localizable (i.e. adding an .l10n-ignore line for *.inc) would be a possible solution here. If you do want to later change any of the localizable content of the generated bookmarks.html, would the idea be to (a) then migrate to a different file format, or (b) potentially revive the localizability of bookmarks.inc?

Our preference would be for option (a), as it would allow removing support for the .inc format from our tooling.

Flags: needinfo?(earo) → needinfo?(frgrahl)

I added *.inc to our ignore list:
https://gitlab.com/seamonkey-project/seamonkey-central-l10n/-/commit/131e7782080a92ab00f995da050f62e46425446e
Hope this is all what is needed for Pontoon. We will add a temporary properties file and manually merge till we have a proper patch with fluent translations in place. There are rarely any changes in it so not a big problem.

Flags: needinfo?(frgrahl)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: