translation icon indicating copy to clipboard operation
translation copied to clipboard

:tongue: Translations (symfony/translation) to Nette Framework (@nette)

Results 9 translation issues
Sort by recently updated
recently updated
newest added

Since version 0.9.4 parameters not working in untranslated message

Will it be possible please to use a separate function to assemble translation key? https://github.com/contributte/translation/blob/d24a58184356a8b38e524826c62431d7f2f27cd4/src/Translator.php#L322 Currently the translation key have format `%key%`, but for example [Laravel](https://laravel.com/docs/9.x/localization#replacing-parameters-in-translation-strings) use the format `:key`....

In docs, there is this DB table example: ``` CREATE TABLE `messages` ( `id` varchar(191) NOT NULL, `locale` char(5) NOT NULL, `message` varchar(191) NOT NULL, UNIQUE KEY `id` (`id`), KEY...

When I use `` element instead of ``, it translates value parameter instead of the body of the button: presenter: ``` $form->setTranslator($this->translator->createPrefixedTranslator('admin.myForm')); $form->addSubmit('sub', 'update'); ``` latte: ```html // generates //...

Hi, is there a way to config extension based on my db data instead of neon config? What I mean - I have languages saved in DB and it´s possible...

Added Nextras Dbal support so you do not need 2 connections (nette database + nexttras dbal) when using Nextras Dbal as your primary and only DB driver.

I have a form with: ``` $form->setTranslator($this->translator->createPrefixedTranslator('admin.forms')); $form->addText('name', 'name'); ``` When the form is processed, I have: ``` if ... $form['name']->addError($this->translator->translate('myError', ['errorType' => 'something'])); ``` my admin.en.neon: ``` forms: myError:...

Pouzivam nettedatabase: Contributte\Translation\Loaders\NetteDatabase. V db je napriklad msgId s hodnotou: Min. počet nocí, v latte se vrati neprelozeny string Min. počet nocí a v tracybaru to vidim jako missing: ![Clipboard01](https://github.com/user-attachments/assets/7f9c693b-b8a2-4011-a0bc-72306bc91a94)...

Added support for symfony translations providers like loco (https://localise.biz/) https://symfony.com/doc/current/translation.html#installing-and-configuring-a-third-party-provider New config items for translation in config.neon looks like: providers: loco: provider: Symfony\Component\Translation\Bridge\Loco\LocoProviderFactory dsn: %loco.dsn% locales: [cs_CZ, sk_SK] domains: []