ElkArte Community

Extending Elk => Localization => Topic started by: emanuele on September 25, 2014, 06:26:53 pm

Title: Nice quick reading
Post by: emanuele on September 25, 2014, 06:26:53 pm
Found few moments ago on twitter:
http://contentisking.textmaster.com/en/2014/09/24/5-best-practices-for-localizing-software-applications/
just few basic rules never to forget. 8)
Title: Re: Nice quick reading
Post by: Adrek on September 26, 2014, 09:43:58 am
This reminded me about something...
Quote1. Give Yourself Some Room

There were few places when I had to fit text in small box, not always it is possible, for example login box in header.
Could you add something like this: http://jsfiddle.net/4gs5a55w/2/ to auto resize input fiels based on placeholder length?

As you can see there is no size on input, but all text is visible, no matter how long it is :)
Title: Re: Nice quick reading
Post by: Spuds on September 27, 2014, 11:50:27 am
Should be able to add that to theme.js with some tweaks ... like make sure there is a place holder, and don't let it go smaller if a size is defined.