Commit Graph

17 Commits

Author SHA1 Message Date
Florian Pelz 8601985100
nls: Update translations.
* website/po/uk.po: New file.
* website/po/ietf-tags.scm: Add `uk'.
* website/po/LINGUAS: Add `uk_UA'.
2023-07-31 23:39:02 +02:00
Florian Pelz 8139a10b65
nls: Update translations.
* website/po/fa.po: New file.
* website/po/ietf-tags.scm: Add `fa'.
* website/po/LINGUAS: Add `fa_IR'.
2023-05-31 20:45:53 +02:00
Julien Lepiller f29f41053b
nls: Update translations
* website/po/cs.po: New file.
* website/po/lt.po: New file.
* website/po/LINGUAS: Add them.
* website/po/ietf-tags.scm: Add them.
2023-05-10 23:06:15 +02:00
Julien Lepiller fdfb96a677
nls: Update translations.
* website/po/pt_BR.po: New file.
* website/po/LINGUAS: Add `pt_BR'.
* website/po/ietf-tags.scm: Add `pt-BR'.
2022-09-17 13:51:35 +02:00
Julien Lepiller c4abcdd240
nls: Update translations.
* website/po/nb_NO.po: New file.
* website/po/ietf-tags: Add `nb_NO`.
* website/po/LINGUAS: Add `nb_NO`.
2022-07-17 22:29:59 +02:00
Julien Lepiller 76e71d2afb
nls: Add 'ja' translation.
* website/po/ja.po: New file.
* website/po/LINGUAS: Add it.
* website/po/ietf-tags.scm: Add it.
2022-04-09 11:54:32 +02:00
Julien Lepiller 5cf50f8cb9
nls: Add zh_TW.
* website/po/zh_TW.po: New file.
* website/po/ietf-tags: Add `zh_TW`.
* website/po/LINGUAS: Add `zh_TW`.
2021-09-02 13:36:48 +02:00
Julien Lepiller b61e27f0ca
nls: Add `tr' translation.
* website/po/tr.po: New file.
* website/po/ietef-tags.scm: add `tr'.
* website/po/LINGUAS: add `tr'.
2021-09-02 13:36:40 +02:00
Julien Lepiller 06a6836c41
website: nls: Add Slovak translation.
* website/po/LINGUAS: Add sk_SK.
* website/po/ietf-tags.scm: Add sk.
* website/po/sk.po: New file.
2021-05-02 01:07:28 +02:00
Julien Lepiller 906436c869
website: nls: Add Russian translation.
* website/po/LINGUAS: Add ru_RU.
* website/po/ietf-tags.scm: Add ru.
* website/po/ru.po: New file.
2021-04-06 13:32:16 +02:00
Julien Lepiller a7bdea3838
website: nls: Add Korean translation.
* website/po/LINGUAS: Add ko_KR.
* website/po/ietf-tags.scm: Add ko.
* website/po/ko.po: New file.
2021-04-06 13:32:02 +02:00
Julien Lepiller cd47191364
website: nls: Add Esperanto translation.
* website/po/LINGUAS: Add eo.
* website/po/ietf-tags.scm: Add eo.
* website/po/eo.po: New file.
2021-04-06 13:17:37 +02:00
Julien Lepiller 1b77a73592
website: nls: Add French translation.
* website/po/LINGUAS: Add fr_FR.
* website/po/ietf-tags.scm: Add fr.
* website/po/fr.po: New file.
2021-01-24 21:39:14 +01:00
Peng Mei Yu b1a8dadf46
website: nls: Add Chinese (Simplified) translation.
* website/po/LINGUAS: Add zh_CN.
* website/po/ietf-tags.scm: Add zh_CN.
* website/po/zh_CN.po: New file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-27 23:37:10 +01:00
Miguel Ángel Arruga Vivas 9e6d6c9911
website: nls: Add Spanish translation.
* website/.guix.scm (build): Use glibc-locales as es_ES.utf8 isn't in
glibc-utf8-locales.
* website/apps/base/data.scm (contact-media)<Help Mailing List>: Use
translation from es.po.
* website/i18n-howto.txt: Add missing steps to the howto.
* website/po/LINGUAS: Add es_ES.
* website/po/es.po: New file.
* website/po/ietf-tags.scm: Add mapping for Spanish language.
2020-11-04 23:06:32 +01:00
Florian Pelz 3c8dd16320
website: nls: Add German translation.
* po/de.po: New file.  Move here the translation from ...
* apps/base/data.scm (contact-media): ... here.
* po/LINGUAS: Add 'de_DE' locale entry.
* po/ietf-tags.scm: Associate with 'de' tag.
2020-07-26 15:43:02 +02:00
Florian Pelz eff4837177
website: Add custom xgettext to extract from nested sexps for i18n.
* website/po/POTFILES: New file.  List apps files here.
* website/po/LINGUAS: New file.  List en_US lingua.
* website/po/ietf-tags.scm: New file.  Add association for en_US lingua.
* website/scripts/sexp-xgettext.scm: New file for generating a POT file.
(<keyword-spec>, <po-entry>, <construct-fold-state>): New record types.
(combine-duplicate-po-entries, complex-keyword-spec?, parse-scheme-file,
po-equal?, write-po-entry, update-ecomments-string!, update-file-name!,
update-old-line-number!, update-line-number!, incr-line-number!,
incr-line-number-for-each-nl!, current-ref, make-simple-po-entry,
matching-keyword, nth-exp, more-than-one-exp?, token->string-symbol-or-keyw,
complex-marked-list->po-entries, construct-po-entries, tag,
construct-msgid-and-po-entries, scheme-file->po-entries): New procedures.
(%keyword-specs, %options, %comments-line, %ecomments-string, %file-name,
%old-line-number, %line-number, %files-from-port, %source-files,
%output-po-entries, %output-port): New variables.
* website/sexp-xgettext.scm: New file with module for looking up
translations.
(%complex-keywords, %simple-keywords, %plural-numbers, %linguas):
New variables.
(<construct-fold-state>, <deconstruct-fold-state>): New record types.
(set-complex-keywords!, set-simple-keywords!, gettext-keyword?, tag,
sexp->msgid, deconstruct): New procedures.
(sgettext, spgettext, sngettext, snpgettext): New macro helpers.
* website/apps/i18n.scm: New file.
(G_, N_, C_, NC_, ietf-tags-file-contents): New syntax to use for i18n.
(%current-ietf-tag, %current-lang, %current-lingua): New variables.
(builder->localized-builder, builders->localized-builders,
localized-root-path, first-value): New utility procedures.
(<asset>, <page>): New imports from Haunt.
* website/haunt.scm: Wrap each builder to build the locale set in LC_ALL.
* website/.guix.scm: Make Haunt build directory writable so Haunt can
overwrite duplicate assets.  Convert PO files to MO files and build for
each lingua.
* website/README: Adapt build instructions for i18n.
* website/i18n-howto: New file with usage instructions.
2020-07-26 15:43:01 +02:00