🌐 Translator help needed! AR, DA, DE, DE-CH, HR, HU, IS, IT, LT, LV, NN, PT, SI, SK

Hey all!

I’m trying to do some cleaning up on our variable handling in translations, and we have a bunch of languages with issues. Here’s the list:

| Language | File |

| Arabic (ar) | portal |
| Danish (da) | portal |
| German (de) | portal |
| Swiss German (de-CH) | ghost |
| Swiss German (de-CH) | portal |
| Croatian (hr) | portal |
| Hungarian (hu) | comments |
| Hungarian (hu) | ghost |
| Hungarian (hu) | portal |
| Icelandic (is) | portal |
| Italian (it) | portal |
| Japanese (ja) | ghost |
| Lithuanian (lt) | portal |
| Latvian (lv) | portal |
| Norwegian Nynorsk (nn) | portal |
| Portuguese (pt) | comments |
| Sinhala (si) | portal |
| Slovak (sk) | ghost |
| Albanian (sq) | ghost |
| Albanian (sq) | portal |
| Thai (th) | portal |

If your language is on the list, it has at least one translation where the variables are wrong, which means you’re getting an incorrect translation, English, or an ‘undefined’ or missing text somewhere. There might be a typo in the variable name, or the variable name might have gotten accidentally translated, or left out, or in the case of de-CH, the translator actually added variables that don’t exist for that string.

Going forward, we’re going to block new merges with these problems, but I need your help cleaning up the old stuff. If you’re a native speaker of one of these languages, can you put in a PR to fix it?

Here’s a tutorial that walks through how to do it:

If you’re trying to help but stuck, please let me know, and I’ll be glad to walk you through it!

In a few cases, the translator may have chosen to omit an expected variable because the translation was much too long for where it was going to appear (i.e. on a button), and so a shortened form was deliberately chosen. Please let me know if you think that’s the case in your language for a specific string, and I’ll take it off my list. But most of these just look like errors.

Here’s the full list of problems, with specific line numbers:

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/ar/portal.json
  4:5  error  Variable "amount" is used in the key but missing in the translation value  ghost-i18n/matching-variables
  4:5  error  Variable "number" is used in the translation value but missing in the key  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/da/portal.json
  183:5  error  Variable "originalPrice" is used in the key but missing in the translation value   ghost-i18n/matching-variables
  183:5  error  Variable "original Price" is used in the translation value but missing in the key  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/de-CH/ghost.json
  13:5  error  Variable "siteTitle" is used in the key but missing in the translation value  ghost-i18n/matching-variables
  14:5  error  Variable "siteTitle" is used in the key but missing in the translation value  ghost-i18n/matching-variables
  56:5  error  Variable "site" is used in the key but missing in the translation value       ghost-i18n/matching-variables
  56:5  error  Variable "{site" is used in the translation value but missing in the key      ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/de-CH/portal.json
  108:5  error  Variable "supportAddress" is used in the translation value but missing in the key  ghost-i18n/matching-variables
  189:5  error  Variable "title" is used in the key but missing in the translation value           ghost-i18n/matching-variables
  195:5  error  Variable "supportAddress" is used in the translation value but missing in the key  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/de/portal.json
  148:5  error  Variable "amount" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/hr/portal.json
  7:5  error  Variable "amount" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/hu/comments.json
  15:5  error  Variable "publication" is used in the key but missing in the translation value  ghost-i18n/matching-variables
  16:5  error  Variable "publication" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/hu/ghost.json
  41:5  error  Variable "siteTitle" is used in the key but missing in the translation value  ghost-i18n/matching-variables
  53:5  error  Variable "siteTitle" is used in the key but missing in the translation value  ghost-i18n/matching-variables
  61:5  error  Variable "siteTitle" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/hu/portal.json
  126:5  error  Variable "fieldName" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/is/portal.json
   12:5  error  Variable "trialDays" is used in the key but missing in the translation value    ghost-i18n/matching-variables
  214:5  error  Variable "renewalDate" is used in the key but missing in the translation value  ghost-i18n/matching-variables
  214:5  error  Variable "expiryDate" is used in the translation value but missing in the key   ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/it/portal.json
  70:5  error  Variable "expiryDate" is used in the key but missing in the translation value    ghost-i18n/matching-variables
  70:5  error  Variable "offerEndDate" is used in the translation value but missing in the key  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/ja/ghost.json
  13:5  error  Variable "siteTitle" is used in the key but missing in the translation value  ghost-i18n/matching-variables
  41:5  error  Variable "siteTitle" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/lt/portal.json
  131:5  error  Variable "price" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/lv/portal.json
  166:5  error  Variable "membermail" is used in the translation value but missing in the key  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/nn/portal.json
  4:5  error  Variable "amount" is used in the key but missing in the translation value    ghost-i18n/matching-variables
  8:5  error  Variable "discount" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/pt/comments.json
  6:5  error  Variable "amount" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/si/portal.json
  214:5  error  Variable "renewalDate" is used in the key but missing in the translation value        ghost-i18n/matching-variables
  214:5  error  Variable "expiryDate" is used in the translation value but missing in the key         ghost-i18n/matching-variables
  215:5  error  Variable "subscriptionStart" is used in the key but missing in the translation value  ghost-i18n/matching-variables
  215:5  error  Variable "expiryDate" is used in the translation value but missing in the key         ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/sk/ghost.json
  5:5  error  Variable "authors" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/sq/ghost.json
  38:5  error  Variable "siteTitle" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/sq/portal.json
  70:5  error  Variable "expiryDate" is used in the key but missing in the translation value  ghost-i18n/matching-variables

/home/cathy/ghost-portal-translation/Ghost/ghost/i18n/locales/th/portal.json
  183:5  error  Variable "originalPrice" is used in the key but missing in the translation value  ghost-i18n/matching-variables
  183:5  error  Variable "ราคาเดิม" is used in the translation value but missing in the key       ghost-i18n/matching-variables
1 Like