Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels not being translated #8

Closed
jrmyio opened this issue Jun 8, 2017 · 2 comments
Closed

Labels not being translated #8

jrmyio opened this issue Jun 8, 2017 · 2 comments

Comments

@jrmyio
Copy link

jrmyio commented Jun 8, 2017

It seems that currently the Labels are not translated. A Field has a TranslationDomain in symfony that can be used to overwrite the default NULL (which resolves to "messages").
http://symfony.com/doc/current/reference/forms/types/form.html#translation-domain

Can be integrated the same way the Error Translation is done, in file:
https://github.com/Limenius/Liform/blob/master/src/Limenius/Liform/Transformer/AbstractTransformer.php

It might also be useful for [liform][description].

@nacmartin
Copy link
Member

Thanks @ConneXNL. Indeed it was needed.

Should be fixed in master. Let me update the bundle and release a new version with this.

@nacmartin
Copy link
Member

v0.10.1 contains this change. It ended being up a bigger change than was expected, but it should work.

ph-fritsche referenced this issue in ph-fritsche/liform May 7, 2020
fixed dockblocks, updated readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants