I have error message

Your langcode isn't standard, you can associate a standard langcode here.

But my language is quite standard: ru.

ksm(checkStandardLanguageCode('ru'));

$formulae = \Drupal::state()->get('locale.translation.formulae', []);
ksm($formulae);

returns

boolean true

array (1)
ru => array (2)
plurals => string (1) "3"
formula => array (73)

Comments

super_romeo created an issue. See original summary.

Gábor Hojtsy’s picture

Status: Active » Postponed (maintainer needs more info)

Hm, what are your steps to reproduce this error message then?

super_romeo’s picture

  1. Install D8 and old POTX 8.x-1.0-dev.
  2. Add Russian language.
  3. Upgrade to D9 and POTX to 8.x-1.0-alpha1.
  4. Go to /admin/config/regional/translate/extract
  5. choose Extract from all in directory "modules/custom"
  6. choose Template file for Russian translations
  7. check Include translations
  8. click Extract