all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: Maximiliano Sandoval <m.sandoval@proxmox.com>
Cc: pve-devel@lists.proxmox.com
Subject: Re: [pve-devel] [PATCH proxmox-i18n 2/2] make: add proxmox-datacenter-manager translations
Date: Wed, 22 Jan 2025 13:22:06 +0100	[thread overview]
Message-ID: <s8ofrlbox68.fsf@proxmox.com> (raw)
In-Reply-To: <20250122122034.247847-2-m.sandoval@proxmox.com>


Maximiliano Sandoval <m.sandoval@proxmox.com> writes:

> The catalog-{lang}.mo files are generated only with strings that are
> relevant to the proxmox-datacenter-manager instead of the whole
> {lang}.po file. The msgmerge command will produce all strings containing
> in the {lang}.po file but the ones that do not concern
> proxmox-datacenter-manager.pot will be written without a source file,
> then msgattrib will discard all those strings with --no-obsolete. We
> throw a --no-fuzzy to further decrease the resulting catalog-{lang}.mo's
> file size.
>
> One thing to note is that xtr, unlike our script to extract translations
> will add comments, context, and plural forms.

I forgot to mention that xtr is not bundled at the moment for Debian and
this is a blocker.


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


  reply	other threads:[~2025-01-22 12:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22 12:20 [pve-devel] [PATCH proxmox-i18n 1/2] makefile: prefer using xgettext over msgcat Maximiliano Sandoval
2025-01-22 12:20 ` [pve-devel] [PATCH proxmox-i18n 2/2] make: add proxmox-datacenter-manager translations Maximiliano Sandoval
2025-01-22 12:22   ` Maximiliano Sandoval [this message]
2025-01-22 13:05     ` Thomas Lamprecht
2025-01-22 13:15       ` Maximiliano Sandoval
2025-01-24 14:37       ` Maximiliano Sandoval

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s8ofrlbox68.fsf@proxmox.com \
    --to=m.sandoval@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal