Trimmed all locales and added javadoc