Conversation
Notices
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Saturday, 21-Sep-2024 13:21:11 JST Haelwenn /элвэн/ :triskell: Huh, no gencat in Alpine or probably most musl-based distros. (As it's usually provided by glibc for some reason) -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Saturday, 21-Sep-2024 23:00:08 JST Haelwenn /элвэн/ :triskell: @q66 Yeah most people don't use it, but kind of want to here to not have base utilities depending on gettext (specially as GNU gettext is specially horrible and gettext-tiny is a bit incomplete). -
Embed this notice
q66 (q66@blahaj.social)'s status on Saturday, 21-Sep-2024 23:00:09 JST q66 @lanodan it's available on chimera (but mostly useless)
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Saturday, 21-Sep-2024 23:03:50 JST Haelwenn /элвэн/ :triskell: @q66 Yeah but still need msgfmt. -
Embed this notice
q66 (q66@blahaj.social)'s status on Saturday, 21-Sep-2024 23:03:51 JST q66 @lanodan the runtime gettext api is in libc, so the program does not link to anything
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Saturday, 21-Sep-2024 23:17:12 JST Haelwenn /элвэн/ :triskell: @q66 Well I do want to avoid dependency cycles or having to add an extra rebuild step when it could be avoided.
And given the state of gettext and gettext-tiny I'd rather look at alternatives, specially when it's not already in the dependency tree (like with gtk applications for example). -
Embed this notice
q66 (q66@blahaj.social)'s status on Saturday, 21-Sep-2024 23:17:13 JST q66 @lanodan realistically for your purpose the one from gettext-tiny is complete (what gettext-tiny does *not* implement is stuff like translation of .desktop files, but for cli programs it's not really missing anything)
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Saturday, 21-Sep-2024 23:28:48 JST Haelwenn /элвэн/ :triskell: @q66 Well still better than like rolling my own, or not having locales at all.
And sure it's going to be weird but that's fine with me, not the first time I use some old thing that most people forgot.
And AFAIK all Unixes have proper message catalog support, except for musl ones with a GNU userland (as for GNU gencat comes from glibc, while musl ships no utilities). -
Embed this notice
q66 (q66@blahaj.social)'s status on Saturday, 21-Sep-2024 23:28:49 JST q66 @lanodan whatever state any implementation of gettext is in, it's better than using a scuffed ancient utility nobody really uses and that is often not even available, both for anybody working with your tools and on your tools
-
Embed this notice