contributte / contributte/forms-bootstrap
Translation issue with wrappers
@dakorpar is already working on this.
Since May 20, 2021.
- Dominant language
- PHP
- Stars
- 21
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.