Skip to content

Translation issue with wrappers #48

@darkWolf-PR

Description

@darkWolf-PR

Hi,
I´m having an issue with translation (using Contributte Translation package).

This wrappers\message (from Contributte Translation documentation):

->setOption('description', new Contributte\Translation\Wrappers\Message('form.mail.description', [...]);

Does exactly nothing.

Works fine with just simple translation string, after adding new Message, whole text disappear. Tracy shows no missing translation, no errors, like it doesn´t exist. Tried also the NotTranslate wrapper and that one seems to work.

I had to change hell a lot of code to try it with just base Nette Forms and it does work normally, so the problem lies somewhere within forms-bootstrap.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions