Migrate the last .inc localization file to Fluent or another format
Categories
(SeaMonkey :: General, task)
Tracking
(Not tracked)
People
(Reporter: eemeli, Assigned: iannbugzilla)
References
Details
Attachments
(1 file)
6.05 KB,
patch
|
Details | Diff | Splinter Review |
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
.
Reporter | ||
Comment 1•4 months ago
|
||
Pontoon issue: https://github.com/mozilla/pontoon/issues/3588
Migrate to properties file for the short term
![]() |
||
Comment 3•4 months ago
|
||
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.
Reporter | ||
Comment 4•3 months ago
|
||
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.
![]() |
||
Comment 5•3 months ago
|
||
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.
Description
•