[pve-devel] [PATCH i18n] Add hebrew translation

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Aug 28 11:22:44 CEST 2019


On 23.08.19 11:27, Dominic Jäger wrote:
> Contributed-by: Condless <info at condless.com>
> Signed-off-by: Dominic Jäger <d.jaeger at proxmox.com>
> ---
> Looks good according to Google Translate.

I got a issue when trying to update the po files with this applied:

# make update
... snip ...
he: he.po:523:14: invalid control sequence
he.po:1405:12: invalid control sequence
he.po:2535:19: invalid control sequence
he.po:2664: end-of-line within string
he.po:2932:13: invalid control sequence
he.po:3017:20: invalid control sequence
he.po:3667:39: invalid control sequence
he.po:3668: end-of-line within string
he.po:4176:14: invalid control sequence
he.po:4270: end-of-line within string
he.po:4435:19: invalid control sequence
he.po:4534:19: invalid control sequence
he.po:5300:26: invalid control sequence
he.po:5822:20: invalid control sequence

The underlying issue of this seems to come from the fact that Hebrew is read
from right to left, and thus a backslash is used instead of a slash (make sense).
So far so good, the backslashes just need to be escaped else "msgmerge" thinks
"\א" is a escape code. Can you do this, check that make update works and
re-check if the \ gets still displayed correctly in the Webinterface? Thanks!

>
>  Makefile |    2 +-
>  he.po    | 6156 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 6157 insertions(+), 1 deletion(-)
>  create mode 100644 he.po
>
> diff --git a/Makefile b/Makefile
> index 0e47f00..442081f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1,6 +1,6 @@
>  include /usr/share/dpkg/pkg-info.mk
>  
> -LINGUAS=de it fr ja es sv ru tr zh_CN zh_TW da ca pl sl nb nn pt_BR eu fa gl hu
> +LINGUAS=de it fr ja es sv ru tr zh_CN zh_TW da ca pl sl nb nn pt_BR eu fa gl hu he
>  
>  PVE_I18N_DEB=pve-i18n_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
>  PMG_I18N_DEB=pmg-i18n_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
> diff --git a/he.po b/he.po
> new file mode 100644
> index 0000000..80f2a66
> --- /dev/null
> +++ b/he.po
> @@ -0,0 +1,6156 @@
> +# Copyright (C) 2013-2016 Proxmox Server Solutions GmbH
> +# This file is distributed under the same license as the pve-manager package.
> +# Proxmox Support Team <support at proxmox.com>, 2013-2016.
> +#
> +msgid ""
> +msgstr ""
> +"Project-Id-Version: proxmox translations\n"
> +"Report-Msgid-Bugs-To: <support at proxmox.com>\n"
> +"POT-Creation-Date: Mon Jul 15 21:48:07 2019\n"
> +"PO-Revision-Date: 2019-06-13 11:09+0200\n"
> +"Last-Translator: Condless Team <info at condless.com>\n"
> +"Language-Team: Hebrew\n"
> +"Language: he\n"
> +"MIME-Version: 1.0\n"
> +"Content-Type: text/plain; charset=UTF-8\n"
> +"Content-Transfer-Encoding: 8bit\n"
> +"Plural-Forms: nplurals=2; plural=(n != 1);\n"
> +"X-Generator: Poedit 1.8.11\n"
> +
> snip





More information about the pve-devel mailing list