framework
framework copied to clipboard
Localization of attribute values
According to this [[url:https://groups.google.com/d/topic/liftweb/d_zquJE6wGo/discussion|thread]]
Imported from Assembla: http://www.assembla.com/spaces/liftweb/tickets/1159
We've got an implementation of Loc lying around that tweaks how Loc works to support things like:
<input data-lift="Loc.myKey?attr=placeholder" ...>
As well as:
<button data-lift="Loc.myKey?bodyAndAttr=title" ...>This text will be replaced by an icon using CSS, but it will still be i18ned, and will have a tooltip with the i18ned text as well</button>
As well as simple:
<button data-lift="Loc.myKey" ...>This text will be i18ned</button>
Will try to see about including it in Lift.
Hi just want to log that I would really like this that is all. 🙏
Would this be a breaking change to Loc?