• Page:
  • 1

TOPIC:

Quotation marks in translation files 4 years 5 months ago #1

  • meliza
  • meliza's Avatar Topic Author
  • Offline
  • Senior
  • Senior
  • Posts: 341
The translators may want to look at quotation marks in their translation files.

In webtrees we should not use in the texts /" or ". We use these " around the texts.

English uses double curved quotes “_” for quotation marks in texts.
Other languages use the English quotation marks or for instance „_“, ”_” or «_».

I see in some language files that certain translated texts use language specific quotation marks and other texts the English quotation marks. You might want to update your language files to always use the language specific quotation marks.

See en.wikipedia.org/wiki/Quotation_mark and www.witch.westfalen.de/csstest/quotes/quotes.html .

Meliza
webtrees 1.8.0-dev at amitys.com/webtrees - php 5.6.29 - mysql 5.0.11-dev

Please Log in or Create an account to join the conversation.

Quotation marks in translation files 4 years 5 months ago #2

Hi Meliza,

Running a search for " in a my fr-CA.po file returns 19 084 hits.
All msgid and msgstr include that sign.

msgid "#%s"
msgstr "#%s"


Do you have a better solution to spot the quotation marks in the translated part of the text?

Please Log in or Create an account to join the conversation.

Quotation marks in translation files 4 years 5 months ago #3

OK. My first search was with NotePad++
I ran the same search with BetterPOEditor and got 46 hits. Many results from

<div class="largeError">


and such..

Please Log in or Create an account to join the conversation.

Quotation marks in translation files 4 years 5 months ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
Meliza is talking about things like this:

msgid "Change the “Home page” blocks"
msgstr "Bloques de la \"Página de inicio\""


The translator has replaced "language quotes" with "computer quotes".

This example is Spanish, so I guess it should be

msgid "Change the “Home page” blocks"
msgstr "Bloques de la «Página de inicio»"

Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Quotation marks in translation files 4 years 5 months ago #5

  • meliza
  • meliza's Avatar Topic Author
  • Offline
  • Senior
  • Senior
  • Posts: 341
In Poedit I can search for “ and I see all the texts that include quotation marks.

In the fr-CA.po file I see translated texts like
msgstr "Le module « %s » a été désactivé."
Changer les blocs de la page « Ma page » de cet utilisateur
and like
msgstr "Les préférences de l’arbre généalogique “%s” ont été mises à jour."

Meliza
webtrees 1.8.0-dev at amitys.com/webtrees - php 5.6.29 - mysql 5.0.11-dev

Please Log in or Create an account to join the conversation.

Quotation marks in translation files 4 years 5 months ago #6

Well spotted Meliza! Thank you.

Please Log in or Create an account to join the conversation.

Last edit: by Jackie.

Quotation marks in translation files 4 years 5 months ago #7

Hi again,

The original text in English shows the quotation marks like this:

The preferences for the family tree “%s” have been updated.


Is that correct?

Please Log in or Create an account to join the conversation.

Quotation marks in translation files 4 years 5 months ago #8

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
The English texts are "US English", and hence use

“_”

Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Last edit: by fisharebest.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Quotation marks in translation files 4 years 5 months ago #9

Hi Greg,

It is not always obvious to see if the quotation marks are part of a code or not.

Please Log in or Create an account to join the conversation.

Quotation marks in translation files 4 years 5 months ago #10

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
There are a few "computer quotes" in the transations. There are where we use HTML. e.g.

msgid "This website is down for maintenance. You should <a href=\"index.php\">try again</a> in a few minutes."
msgstr "Este sitio está desactivado por mantenimiento. Debe <a href=\"index.php\">intentar otra vez</a> en pocos minutos."


All others are "language quotes".
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Quotation marks in translation files 4 years 5 months ago #11

Hi,

I don't understand that quotation marks thing. So, I give up translation. You may remove the fr-CA file, if you want. I won't maintain it anymore. Too much trouble.

Please Log in or Create an account to join the conversation.

Last edit: by Jackie.

Quotation marks in translation files 4 years 5 months ago #12

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
> I don't understand that quotation marks thing

All the quotation marks in the French/French-Canadian translations are OK.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Quotation marks in translation files 4 years 5 months ago #13

OK Greg, told me to relax.. ;-) He convince me to keep on the work.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum