update locales and file formatting