add locale length option for i18n behavior

Hi,

I think locale column length (5 chars) is too restrictive for some specific cases ( language code with 3 characters, different available alphabets for a same language or adding a transliteration identifier in the locale code) .

So  i added an option to easily change it.