Expand my Community achievements bar.

i18n cutomization issue

Avatar

Level 4

Dear members,

In my project we have planned to implement customized i18n approach due to certain requirements. I have written logic in back-end which will create dictionary in json format under /etc.

In my test component wherever required, I call that service using tag "<div data-sly-use.developer="${'com.*.sightly.components.Developer' @ key='lastpage'}">${developer.details}</div>" instead of

${'lastpage' @ i18n}" which is default i18n implementation. This is working well but it does not work in the scenario like :

<input type="text" required-error-message="${'err.pickup.required' @ i18n}  ${'err.Date.required' @ i18n}">.

I am not able to replace my customized tag inside "" of input parameter 'required-error-message'. Because I cannot put html divs inside "". Kindly suggest any option to make it work as I have run out of option small help will be much appreciated.

Thanks

Monendra

2 Replies

Avatar

Employee

Anything you can share codewise to reproduce this?

Avatar

Level 4

Hi Feike,

I have to go opt for different approach as it was not working out for me. Thanks for your reply.

-Monendra