* How to handle the new translation method on a live system?
@ 2026-11-20 10:55 Matthias Fischer
2026-11-20 16:27 ` Michael Tremer
[not found] ` <4jWKzk20n5zTq0T@michael.haj.ipfire.org>
0 siblings, 2 replies; 4+ messages in thread
From: Matthias Fischer @ 2026-11-20 10:55 UTC (permalink / raw)
To: IPFire: Development-List
Hi all,
I have some questions how to handle the way IPFire (since Core 206)
deals with translations on a live system.
Until Core 206 I could follow the procedure as described in the wiki:
=> https://www.ipfire.org/docs/devel/ipfire-2-x/translate
Now everything has changed - the wiki is outdated. ;-)
'addon-langs' is gone, 'langs' is gone and 'update-lang-cache' has been
deleted. Ok, no problem, but what now?
E.g., I find a typo and want to correct it. Now. Without starting one of
my 'Devels' and compiling the whole thing all over again.
How do I do this?
All I can find - on an installed system(!) - are binary language files
under '/usr/share/locale/[LANGUAGE]/LC_MESSAGES/...' which are
impossible to edit. Until Core 205 I could edit the appropriate language
file, run 'update-lang-file' and was done. How can I do this with Core
206? I searched but wasn't successful.
Could 'someone' please give me a hint?
Best
Matthias
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: How to handle the new translation method on a live system?
2026-11-20 10:55 How to handle the new translation method on a live system? Matthias Fischer
@ 2026-11-20 16:27 ` Michael Tremer
[not found] ` <4jWKzk20n5zTq0T@michael.haj.ipfire.org>
1 sibling, 0 replies; 4+ messages in thread
From: Michael Tremer @ 2026-11-20 16:27 UTC (permalink / raw)
To: development
Hi Matthias,
You are right, the wiki page was outdated. I have rewritten it for the Weblate-based workflow that we have used since Core 206:
https://www.ipfire.org/docs/devel/ipfire-2-x/translate
In short: translations are now done at https://translate.ipfire.org. Typos in a translation are fixed there, and Weblate sends the changes to this list for review. They then ship with a following Core Update. The old way of editing a language file on the installed system and running `update-lang-cache` no longer exists, since the translations are compiled into the binary catalogs you found under /usr/share/locale. The page also explains how to change an English source text, which goes through a patch to this list.
I did not cover a quick way to test a change on a live system without a rebuild. If someone has a good approach for that, please add it to the thread and I will put it on the page.
Best,
Michael
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <4jWKzk20n5zTq0T@michael.haj.ipfire.org>]
* Re: How to handle the new translation method on a live system?
[not found] ` <4jWKzk20n5zTq0T@michael.haj.ipfire.org>
@ 2026-11-20 16:18 ` Matthias Fischer
2026-11-22 12:50 ` Vincent Li
1 sibling, 0 replies; 4+ messages in thread
From: Matthias Fischer @ 2026-11-20 16:18 UTC (permalink / raw)
To: development
On 20.11.2026 17:09, Michael Tremer wrote:
> Hi Matthias,
Hi Michael,
> You are right, the wiki page was outdated. I have rewritten it for the Weblate-based workflow that we have used since Core 206:
>
> https://www.ipfire.org/docs/devel/ipfire-2-x/translate
>
> In short: translations are now done at https://translate.ipfire.org. Typos in a translation are fixed there, and Weblate sends the changes to this list for review. They then ship with a following Core Update. The old way of editing a language file on the installed system and running `update-lang-cache` no longer exists, since the translations are compiled into the binary catalogs you found under /usr/share/locale. The page also explains how to change an English source text, which goes through a patch to this list.
Ok, I read about that (new) way. So I really do need my 'Devels' for
that. No problem...
> I did not cover a quick way to test a change on a live system without a rebuild. If someone has a good approach for that, please add it to the thread and I will put it on the page.
Thanks for clarification! I wasn't sure if I overlooked something. If I
find a suitable way, I'll post it.
Best
Matthias
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: How to handle the new translation method on a live system?
[not found] ` <4jWKzk20n5zTq0T@michael.haj.ipfire.org>
2026-11-20 16:18 ` Matthias Fischer
@ 2026-11-22 12:50 ` Vincent Li
1 sibling, 0 replies; 4+ messages in thread
From: Vincent Li @ 2026-11-22 12:50 UTC (permalink / raw)
To: IPFire@michael.haj.ipfire.org:Development-List
On Fri, 20 Nov 2026, Michael Tremer wrote:
> Hi Matthias,
>
> You are right, the wiki page was outdated. I have rewritten it for the Weblate-based workflow that we have used since Core 206:
>
> https://www.ipfire.org/docs/devel/ipfire-2-x/translate
>
> In short: translations are now done at https://translate.ipfire.org. Typos in a translation are fixed there, and Weblate sends the changes to this list for review. They then ship with a following Core Update. The old way of editing a language file on the installed system and running `update-lang-cache` no longer exists, since the translations are compiled into the binary catalogs you found under /usr/share/locale. The page also explains how to change an English source text, which goes through a patch to this list.
>
> I did not cover a quick way to test a change on a live system without a rebuild. If someone has a good approach for that, please add it to the thread and I will put it on the page.
It seems you can edit the same .po and run msgfmt to compile the .po to
ipfire.mo on the build host and replace the ipfire.mo on the
running system with the new ipfire.mo? has not tried it though.
> Best,
> Michael
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-22 12:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 10:55 How to handle the new translation method on a live system? Matthias Fischer
2026-11-20 16:27 ` Michael Tremer
[not found] ` <4jWKzk20n5zTq0T@michael.haj.ipfire.org>
2026-11-20 16:18 ` Matthias Fischer
2026-11-22 12:50 ` Vincent Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox