FIXED: ArrayIndexOutOfBoundsExceptions

 * Fixed ArrayIndexOutOfBoundsExceptions when selected locale with other
   locales than enUS
Merge pull request #811 from jikuja/fixes_for_v1.4.1

FIXED: ArrayIndexOutOfBoundsExceptions