Re: Missing french translations

Vadim Zeitlin <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Wed, 14 Jun 2023 04:11:10 +0200 Quentin Cosendey wrote:

QC> I have updated wxWidgets to the latest commit. Everything works as 
QC> expected, but I noticed some missing translations in french.

 Désolé...

QC> For example this one in fr.po, line 1105
QC> 
QC> #: ../src/common/docview.cpp:523 ../src/common/docview.cpp:561
QC> msgid "&Discard changes"
QC> msgstr ""
QC> 
QC> How to proceed ?
QC> 
QC> Should I contact a specific person responsible for the french 
QC> translation and he/she will add what's missing ? Or perhaps the work is 
QC> already in progress.

 I'm afraid there is no real coordination of the translator's work, so it's
not impossible that somebody else is working on this, but considering that
French translations are updated about once per year, the probability of
this happening right now seems low. You can, of course, contact Gérard
Durand (his email address is in "git log locale/fr.po" output) to ask him
about it.

QC> Or should I simply submit a pull request as normal ?

 Please submit a PR if you are comfortable with doing this or just send me
the updated fr.po as explained in the "How to Help" section of
https://www.wxwidgets.org/about/translations/

QC> IF the second case, how can I test my changes before submitting, i.e. 
QC> compile fr.po into fr.mo ?

 If you have access to a Unix-like environment (Cygwin, MSYS2 and, of
course, WSL all count as such) you can just run

	$ msgfmt -v -c locale/fr.po

to check that there are no problems. This will also generate fr.mo that you
can test during run-time.

QC> What's the difference between the two following syntaxes, are they 
QC> totally equal ?
QC> 
QC> msgstr "Some message"
QC> 
QC> and
QC> 
QC> msgstr ""
QC> 
QC> "Some message"

 Sorry, not sure about this one, but I think they are indeed the same.

 Thanks in advance for your help,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/
signature.asc (application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iEYEABECAAYFAmSKT4oACgkQBupB3k9sHoZm6QCeMANX/GY405cfZuSx7vAs6aMd
9y4An046Ror3Sdkn6f+yP5T1qbhE2qSW
=+bWg
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.