----------------------------------------------------------------------------------
@MSGID:
<243328df-c7aa-49fb-81d9-48467032f50fn@googlegroups.com> f3144377
@REPLY: <ygav8c2xnnk.fsf@panther.akutech-local.de>
23ab70f4
@REPLYADDR Alexandru
<alexandru.dadalau@meshparts.de>
@REPLYTO 2:5075/128 Alexandru
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<cce3de74-4d91-475a-b45a-4ec3b25567f7n@googlegroups.com> <91c7f56e-29be-4436-9a82-c2ffe7964b36n@googlegroups.com>
<14bd951f-856c-4641-b580-51c4d0f43828n@googlegroups.com> 1@dont-email.me>
<d9b3d63c-9ec4-490a-bfd9-9b0aeebacab6n@googlegroups.com> 1@tota-refugium.de>
<ygav8c2xnnk.fsf@panther.akutech-local.de>
@RFC-Message-ID:
<243328df-c7aa-49fb-81d9-48467032f50fn@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
Ralf Fassel schrieb am Freitag, 22. September 2023 um 16:56:04 UTC+2:
> * nemethi <
csaba....@t-online.de>
> | Am 22.09.23 um 14:55 schrieb Alexandru:
> | > Would id be a good idea to add a new function to msgcat
that does the above?
> >
> | No.
> >
> | It is correct that the settings should be kept in English only. OTOH,
> | I don`t see the need for reverse translation, for at least two
> | reasons:
> --
--
> | 2. It is a common case that a translated text corresponds to more than
> | one original (English) text. Which one should then be returned by
> | the reverse translation? Or can you always guarantee that the
> | message catalogue is a one-to-one mapping?
> In addition, message catalogue keys can contain %-substitutions, which
> make a reverse lookup for those very difficult. A generic reverse
> lookup would need to handle these somehow.
>
> R`
Agree, only that the programmer can decide to use that function or not.
For example, in my case I know that the keys are unique and there
are no %-substititions.
--- G2/1.0
* Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441