Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

If you're not careful, you're going to catch something.


devel / comp.lang.python / Re: GNU gettext: Print string translated and untranslated at the same time

SubjectAuthor
o Re: GNU gettext: Print string translated and untranslated at the sameDieter Maurer

1
Re: GNU gettext: Print string translated and untranslated at the same time

<mailman.239.1692292781.23016.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=28308&group=comp.lang.python#28308

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: dieter@handshake.de (Dieter Maurer)
Newsgroups: comp.lang.python
Subject: Re: GNU gettext: Print string translated and untranslated at the same
time
Date: Thu, 17 Aug 2023 19:19:38 +0200
Lines: 7
Message-ID: <mailman.239.1692292781.23016.python-list@python.org>
References: <2ecc54498066930d20ada6343bf4374d@posteo.de>
<25822.22186.232678.81747@ixdm.fritz.box>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 0nO24zQPjO44+zGK1pPInQUtQoTmTZBrhn68E+nyldPA==
Cancel-Lock: sha1:sRs180WGTtEtuZ9U68ATGQoeRK0= sha256:GBIcS/LOU0V1MZISjwYIBRUgYKSusEHGobUwdf3laq8=
Return-Path: <dieter@handshake.de>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.050
X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'string': 0.07;
'translate': 0.07; 'code?': 0.09; 'subject:GNU': 0.16;
'subject:string': 0.16; 'python': 0.16; 'to:addr:python-list':
0.20; 'version': 0.23; 'received:de': 0.23; 'default': 0.31;
'unknown': 0.32; 'header:In-Reply-To:1': 0.34; 'display': 0.36;
'source': 0.36; 'could': 0.38; 'wrote': 0.39; 'want': 0.40; 'try':
0.40; 'should': 0.40; 'header:Received:6': 0.67; 'translated':
0.69; 'site': 0.70; 'received:88': 0.84
In-Reply-To: <2ecc54498066930d20ada6343bf4374d@posteo.de>
X-Mailer: VM 8.0.12-devo-585 under 21.4 (patch 24) "Standard C" XEmacs Lucid
(x86_64-linux-gnu)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <25822.22186.232678.81747@ixdm.fritz.box>
X-Mailman-Original-References: <2ecc54498066930d20ada6343bf4374d@posteo.de>
 by: Dieter Maurer - Thu, 17 Aug 2023 17:19 UTC

c.buhtz@posteo.jp wrote at 2023-8-17 07:10 +0000:
>I want to display one string in its original source (untranslated)
>version and in its translated version site by site without duplicating
>the string in the python source code?

You could try to translate into an unknown language: this
should give you the default translation.


devel / comp.lang.python / Re: GNU gettext: Print string translated and untranslated at the same time

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor