Closed (fixed)
Project:
MaxLength
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2016 at 11:29 UTC
Updated:
17 Sep 2020 at 11:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
paulmckibbenThe problem occurs with a custom-configured countdown message, configured in the form display settings for the field. The attached patch makes it possible to use interface translation to translate a custom configured message. Alternatively, configuration translation will also work (without a patch), but interface translation is easier.
Comment #3
dawehnerThis is not the right approach, we should leverage config translation for those things.
Comment #4
mr.baileysPatch attached allows for the labels to be translated through configuration translation. Note that there currently is not yet an interface to translate widget configuration, so you will either need to apply the patch in #2546212: Entity view/form mode formatter/widget settings have no translation UI, or manually create and import the configuration files containing the translations.
Comment #6
dawehnerThis looks perfect! Thanks a ton
Comment #8
sharique commentedThis fix is some how got reverted, it is not appearing in beta2.
Comment #9
johnchque@Sharique bug fixes are only committed in dev versions. The fix is present in the dev branch only.
Comment #10
sharique commentedYeah, it is committed a year back, so it should appear in recent release.
Comment #11
amneh.shawish commentedThis patch is not working with me, but I used this one from this issue and it works fine.
https://www.drupal.org/project/maxlength/issues/2955352