Hey guys,
Is there anyone with gettext v5.x experience?
Osclass is currently using 4.x version and upgrade to 5.x version is planned, maybe someone was already experiencing with replacing these functions
in v5
$gt = Translation::newInstance()->_get();
$string = $gt->dngettext($domain, $single_key, $plural_key, $count);
$string = $gt->dgettext($domain, $key);
$this->translator = new Translator();
$translations = Gettext\Translations::fromMoFile($file);
$translations->addFromMoFile($file);
$translations->setDomain($domain);
$this->translator->loadTranslations($translations);
... and similar, I think there is completely new set of functions in v5