update rails and json
set default locale to en, switch locales