Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Archer Lin edited this page · 219 revisions
Clone this wiki locally

Customize your own I18n solution.

One easy way is to overwrite app/helpers/devise_helper.rb, which is mentioned as “A simple way to show error messages for the current devise resource. If you need to customize this method, you can either overwrite it in your application helpers or copy the views to your application.” in the comment.

Set default locale (config/application.rb)

config.i18n.default_locale = :sv

Use the devise-i18n gem

An effort to homogenize translations for devise is being made here:

Use a custom locale file

Alternatively use one of the following locale files.
Place them under config/locales.

Albanian (devise.sq.yml) by @ttomor

Arabic ( (for devise v3.4.1) by @mabras (for devise v2.2.4) by @TamerShlash by @tactius

Bangla ( by @maruf-freelancer

Bosnian ( by @l0oky

Brazilian Portuguese ( by @mateusg by @phstc by @shadow11 by @danilofavacho for Devise 1.4.7 by @daniambrosio for Devise 2.1.2 by @lucascaton for Devise 3.0.0 by @rimenes for Devise 3.0.0 by @cerdiogenes for Devise 3.1.x by @mateusdelbianco for Devise 3.2.2 by @daniambrosio for Devise 3.4.1 by @kelvinvenancio

Bulgarian ( for Devise 2.2.3 by @mitio by @bbatsov

Catalan ( by @codegram and @jrom by @jordigg (for Devise 3.2.4)

Chinese Simplified

devise.zh-CN.yml (for Devise v3.5.2) by @Kenrick-Zhou
devise.zh-CN.yml (for Devise v2.1) by @shichuan
devise.zh-CN.yml (for Devise v2.0) by @HungYuHei
devise.zh-cn.yml by @doabit
devise.zh-CN.yml by @acenqiu

Chinese Traditional

devise.zh-TW.yml (for Devise v3.5.2) by @twbcs

devise.zh-TW.yml (for Devise v3.2.4) by @danny8376

devise.zh-TW.yml (for Devise v2.0, thanks to @l4u and @gugod) by @tomchentw

devise.zh-TW.yml by @l4u by @gugod

Croatian ( by @babinho

Czech (devise.cs.yml) by @jnv (Devise 2.2.2) by @bver

Danish (devise.da.yml) by @jgrau by @martinjlowm (Devise 2.0.0) by @askehansen (Devise 3.0.0)

Dutch ( by @JanDintel by @wilco

English (default)

This fill will be added automatically when using the generator.

Estonian ( by @borgand

Finnish ( by @akonan by @jarijokinen (Devise 2.0.0) by @jannewaren (Devise 3.0)

French ( by @GRoguelon (Devise 3.4.1) by @GRoguelon (Devise 3.2.4) by @simonc (Devise 2.0 and 3.0) by @bbenezech by @tadatoshi by @jujudellago (update for translated-views devise-1.1.2)

German ( (Du) by @thomasklemm (Devise 3.1) (Sie) by @wintersoutions (Devise 3.1) (Du) by @corny (Devise 3.0) (Sie) by @tigg (Devise 2.2) (Sie) by @chrugail (Du) by @mrjfk10 (Du auch) by @punkrats (Sie) by @fschwahn (devise 2.0) (Du) by @ding280 (devise 2.0)

Greek ( by @johndel

devise.el.yml by @dklisiaris (for Devise 3.4.1)

Haitian Creole ( by @natesholland

Hungarian ( by @czettnersandor

Hebrew (devise.he.yml), by @shmichael (devise 1.0.8)

Icelandic (

See devise-i18n

Indonesian (, by @yulrizka, by @ardianys (Devise 3.2) forked from @yulrizka, by freeskys (Devise >= 3.4.1)

Italian (, by epistrephein (Devise 3.5), by xpepper (Devise 3.2), by @fuzziness (Devise 2.2), by @fuzziness (Devise 2.1) by @mcanato

Japanese (devise.ja.yml)

See devise-i18n

(>= 3.4.0) by @satour
(>= 2.2) by @kawamoto
(>= 2.1.2) by @orzccc
(>= 1.1.2) by @yhara

Korean (devise.ko.yml) by @ruseel by @ryush00

Latvian ( by @mak-it by @AMekss (Devise 3.2)

Lithuanian ( by @jpalumickas (Devise 3.2) by @jpalumickas (Devise 2.2) by @pacifists

Malaysian ( by @iqbalhasnan

Norwegian Bokmål (devise.nb.yml) by @bonkowski and @kjbekkelund by @henningjensen (devise 2.0) by @badeball (Devise 2.2.3)

Persian (devise.fa.yml) by @ryco

Polish ( by @sickill by @grzesiub by @marioosh (devise 1.2) by @rogal111 (devise 1.4.2) by @saepia (devise 1.4.6) by @kszksz (devise 2.0.0) by @Nowaker (devise 2.0.1 + language fixes) by @mitfik (devise >= 3.0 )

Portugal Portuguese ( by @luisramalho by @alexreisner by @pama

Romanian ( by @polmolea

Russian ( (for devise 3.4) (for devise 3.2), by @Antiarchitect – it has some problems
[GEM] by @korobkov – has no github repo, by @sergio-fry Last active in 2011 (devise 2.0.1 +) – last changes in 2012, by EvilFaeton (devise >= 2.2) Last active 2013

Serbian (ћирилица) ( by @batamire (devise >= 2.1)

Serbian (latinica) ( by @Maidomax (devise >= 2.1)

Slovak ( by @marospixel by @istana (for Devise 2.2, 3.0)

Slovenian ( by @samotarnik (Devise 2.1.2)

Spanish ( by @ianmurrays (Tu) (for Devise 1.4.4) (Tu) (for Devise 1.4.2) by @willywg (Tu) by @scambra (Tu) by @pacoguzman (Tu) by @eduludi (Usted) by @ChristopherThorpe, forked from 1196295 – Spanish Mexican for Devise 1.4.8 by Gabriel Medina Rha7 (Mexico – Usted) by @albertopadilla (Mexico – Tú) by @albertopadilla (Guatemala – Tu – devise 2.0.4) by @sartip (Usted) (for devise 2.2.4) by @apat (Neutral Spanish [tú] for devise 3.0.0) by @pzin (Neutral Spanish [tú] for devise 3.1.1) by @willywg, forked from 5864124 (Neutral Spanish [tú] for devise 3.2.2) by @Theby, forked from 6847936 (Neutral Spanish [usted] for devise 3.2.2) by @Theby (Neutral Spanish [tú] for devise 3.2.4) by @jordigg, forked from 8278002 (Neutral Spanish [usted] for devise 3.2.4) by @jordigg, forked from 8278358 (Argentina [tú] for devise 3.4.1) by @daao87

Swedish ( by @flojon

Turkish ( by @cihad

Vietnamese ( by @anhkind by @stnguyen

Ukrainian ( by @kolodiazhnyi (devise >= 2.2)

Thai ( by @not001praween001

Myanmar ( by @dreamingblackcat

Something went wrong with that request. Please try again.