Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Translation: treecounter numbers in Spanish/Portuguese #2362

Open
norbertschuler opened this issue May 21, 2020 · 11 comments
Open

Translation: treecounter numbers in Spanish/Portuguese #2362

norbertschuler opened this issue May 21, 2020 · 11 comments
Assignees
Labels
enhancement New feature or request translation

Comments

@norbertschuler
Copy link
Collaborator

Describe the feature you'd like to see included in Plant-for-the-Planet App.

The algorithm to show the treecounter number must be adapted for the newly added languages (“billion” vs. “trillion”).

A8C24822-C8E4-47E6-B25A-BE6C19711D72

@norbertschuler norbertschuler added enhancement New feature or request translation labels May 21, 2020
@norbertschuler norbertschuler changed the title Translation: numbers in Spanish/Portuguese Translation: treecounter numbers in Spanish/Portuguese May 21, 2020
@norbertschuler
Copy link
Collaborator Author

Resources in our translation system must be changed - the resource names are chosen by the short scale system rather than the long scale system (https://en.wikipedia.org/wiki/Long_and_short_scales):

        (isSingular
          ? i18n.t('label.thousand_singular')
          : i18n.t('label.thousand_plural')),
      ' ' +
        (isSingular
          ? i18n.t('label.million_singular')
          : i18n.t('label.million_plural')),
      ' ' +
        (isSingular
          ? i18n.t('label.billion_singular')
          : i18n.t('label.billion_plural')),
      ' ' +
        (isSingular
          ? i18n.t('label.trillion_singular')
          : i18n.t('label.trillion_plural')),
      ' ' +
        (isSingular
          ? i18n.t('label.quadrillion_singular')
          : i18n.t('label.quadrillion_plural')),
      ' ' +
        (isSingular
          ? i18n.t('label.quintillion_singular')
          : i18n.t('label.quintillion_plural'))

@norbertschuler norbertschuler self-assigned this May 21, 2020
@norbertschuler
Copy link
Collaborator Author

@Chiagozie-Udeh I explained the resource names and the short and long scale system to the translator in the LingoHub chat and hope they will fix the wrong translations, e.g. in the Spanish language.

@norbertschuler norbertschuler removed their assignment May 21, 2020
@Chiagozie-Udeh
Copy link
Collaborator

@norbertschuler I tried to fix them myself now, can you have a look and let me know if all okay

@norbertschuler
Copy link
Collaborator Author

@Chiagozie-Udeh "Billion" and "Trillion" seem to be right now if in Spain they expect to use that long scale system. The translation for "Quadrillion" and "Quintillion" in the short scale is not correct, it should be a million billion and a trillion in long scale), but as we never use them I don't mind:

Bildschirmfoto 2020-05-30 um 09 50 37

Bildschirmfoto 2020-05-30 um 09 50 20

@norbertschuler
Copy link
Collaborator Author

@Chiagozie-Udeh can you help decide if these numbers should be used on short or long scale for Portuguese (Brazil)? Currently they are translated like using the short scale as in English.

@Chiagozie-Udeh
Copy link
Collaborator

@Chiagozie-Udeh "Billion" and "Trillion" seem to be right now if in Spain they expect to use that long scale system. The translation for "Quadrillion" and "Quintillion" in the short scale is not correct, it should be a million billion and a trillion in long scale), but as we never use them I don't mind:

Bildschirmfoto 2020-05-30 um 09 50 37 Bildschirmfoto 2020-05-30 um 09 50 20

I can still add the correct translation just to have all covered.

@Chiagozie-Udeh
Copy link
Collaborator

@Chiagozie-Udeh can you help decide if these numbers should be used on short or long scale for Portuguese (Brazil)? Currently they are translated like using the short scale as in English.

I would think that we translate based on what we have in English, I am checking with the Spanish team too but that would seem right/. What do you think?

@norbertschuler
Copy link
Collaborator Author

According to Wikipedia they use the short scale system in Brazil and long scale in Europe: „Countries with usage of the long scale include most countries in continental Europe, and most that are French-speaking, Spanish-speaking[4] and Portuguese-speaking countries (except Brazil).
The short scale is used in most English-speaking and Arabic-speaking countries, in Brazil and several other countries.“
https://en.wikipedia.org/wiki/Long_and_short_scales

@Chiagozie-Udeh
Copy link
Collaborator

@norbertschuler I reached the Spanish team and here is the response:

"So to my knowledge we are using short scale in German (thousand billions = trillion). In Spanish I would think it would also make more sense to use short scale. For example the term "mil millones"=billion=thousand million is a set term in Spanish and understood by anyone. On the other hand the same term in long scale "millón de millones" = billion = million million maybe mathematically correct but wouldn't be understood as easy imho".

I would agree with this too unless you think strongly otherwise. Let me know.

@norbertschuler
Copy link
Collaborator Author

@norbertschuler I reached the Spanish team and here is the response:

"So to my knowledge we are using short scale in German (thousand billions = trillion).

No, we use the long scale system in German. We have own names for a million billion like milliard and billiard and trilliard:

Million: „Million“
Billion: „Milliarde“
Trillion: „Billion“
Quadrillion: „Billiarde“

I would agree with this too unless you think strongly otherwise. Let me know.

Every translator should know best what number names to use for his native language. Otherwise please study the Wikipedia pages.

@norbertschuler
Copy link
Collaborator Author

O.k., tomorrow I will export the language resources again and make the next release. Hopefully the number translations are finished.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request translation
Projects
None yet
Development

No branches or pull requests

2 participants