• How to deal with po files in debian-installer?

    From John Paul Adrian Glaubitz@21:1/5 to All on Wed Mar 23 13:30:02 2022
    Hi!

    I have created a new udeb package called partman-hfs to add HFS/HFS+ support to partman and I'm just wondering how to properly deal with internationalization support in the package.

    Do I understand the mechanism correctly that I just need to create the files

    - debian/partman-hfs.templates
    - debian/po/outout
    - debian/POTFILES.in

    and the translators will do the rest or is there anything else I need to do?

    I am referring to the manual 2.2 in the i18-guide of debian-installer [1].

    Thanks,
    Adrian

    [1] https://d-i.debian.org/doc/i18n-guide/ch02s02.html

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Cyril Brulebois@21:1/5 to All on Wed Mar 23 14:30:01 2022
    Hi,

    John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> (2022-03-23):
    I have created a new udeb package called partman-hfs to add HFS/HFS+
    support to partman and I'm just wondering how to properly deal with internationalization support in the package.

    Do I understand the mechanism correctly that I just need to create the
    files

    - debian/partman-hfs.templates
    - debian/po/outout

    Are you sure about that one? :)

    - debian/POTFILES.in

    and the translators will do the rest or is there anything else I need to do?

    Holger will be able to tell you more about this, but you need that
    package to be known by the l10n machinery, via:
    https://salsa.debian.org/installer-team/d-i/-/blob/master/packages/po/packages_list


    Cheers,
    --
    Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
    D-I release manager -- Release team member -- Freelance Consultant

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmI7HpIACgkQ/5FK8MKz VSCNZg//TFWNvjQ3Vj9N+AC8IJNmD2tdY3t4AGR/HJHx4ki87kNbp1PTzrdviGhg pIVx3lmvx15rPnoFHc4qRhEL4cmGUWDpoSkcF6FGuO9fS7RVYJMXgvy26vXjr+iS Y8oRIFordmpUhXebTZu5XPEQL0x913r+lxIbWT8A29haskoSqMOJ68L5bdPBlQt7 o8uTAmv7gTH2M094G3lXUBmS7UTv9rdtFZkQR8aYvbOGp6AiKhJj3E3iHlR2pUmT 36hHm1ym0z/+GIC34Q7QlFx61Z7pDVhyQ9dfpQ+VCVsa4O/ECNf2FdjUvHwWHm7X U5FM4oouxH/gQMKuJM53zifZNR9Y2HQqhqV3JPEx14KmX469rSZsTA50GPDqBDrQ 2+cASwC/i7maO/4Oibycc/jHiF1kRwHIPTGZImAWfNE0dhctkW9OsbViEJiRhtBr mFEdGws/L7O32JfOlpsZLz7tzn+Ow3VIgqPAfVvyQ6ecaD+rjzoGT8kCgPpZjv3Y 5c6I1T3+GYpBPx6yDhJ+LLMyYtSaFQs2Cz4/R1W9vD2LjiAjVayK4hU26VBM3wgw DwraAuiTyANxrDwfnZtUC05+Jam8Ye24be9Dc3EhQaT5FhjTRsAPxZNDy7oU0aGr ZbQ4wjJrdOjzH8CBUBkf0dsNlikTI7cltmFGZyT8EvISGRa+oA4=
    =l1U7
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    *
  • From John Paul Adrian Glaubitz@21:1/5 to Cyril Brulebois on Wed Mar 23 14:30:01 2022
    Hi!

    On 3/23/22 14:20, Cyril Brulebois wrote:
    John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> (2022-03-23):
    I have created a new udeb package called partman-hfs to add HFS/HFS+
    support to partman and I'm just wondering how to properly deal with
    internationalization support in the package.

    Do I understand the mechanism correctly that I just need to create the
    files

    - debian/partman-hfs.templates
    - debian/po/outout

    Are you sure about that one? :)

    Well, no ;-).

    - debian/POTFILES.in

    and the translators will do the rest or is there anything else I need to do?

    Holger will be able to tell you more about this, but you need that
    package to be known by the l10n machinery, via:
    https://salsa.debian.org/installer-team/d-i/-/blob/master/packages/po/packages_list

    OK, I'll wait for Holger if he wants to add any comments.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Holger Wansing@21:1/5 to All on Thu Mar 24 10:50:01 2022
    Hi,

    Am 23. März 2022 13:28:55 MEZ schrieb John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
    Hi!

    I have created a new udeb package called partman-hfs to add HFS/HFS+ support to
    partman and I'm just wondering how to properly deal with internationalization >support in the package.

    Do I understand the mechanism correctly that I just need to create the files

    - debian/partman-hfs.templates
    - debian/po/outout

    output, not outout
    But it's ok in your Github project.

    - debian/POTFILES.in

    and the translators will do the rest or is there anything else I need to do?

    ... and the l10n-script will do the rest, yes.

    I reviewed the strings, and that looks good (strings copied from other
    partman package where possible, so that translations automatically
    match).

    So no objections from my side regarding l10n.
    (Adding the package to the l10n-sync machinery needs to be done,
    as mentioned by kibi, but there's no issue with that.)


    I am referring to the manual 2.2 in the i18-guide of debian-installer [1].


    Holger


    --
    Sent from /e/ OS on Fairphone3

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Holger Wansing on Thu Mar 24 11:10:02 2022
    Hi Holger!

    On 3/24/22 10:45, Holger Wansing wrote:
    Do I understand the mechanism correctly that I just need to create the files >>
    - debian/partman-hfs.templates
    - debian/po/outout

    output, not outout
    But it's ok in your Github project.

    Yes, that was just a typo in the email ;-).

    - debian/POTFILES.in

    and the translators will do the rest or is there anything else I need to do?

    ... and the l10n-script will do the rest, yes.

    I reviewed the strings, and that looks good (strings copied from other partman package where possible, so that translations automatically
    match).

    So no objections from my side regarding l10n.
    (Adding the package to the l10n-sync machinery needs to be done,
    as mentioned by kibi, but there's no issue with that.)

    Thanks for the constructive feedback. Much appreciated.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)