开发者

Drupal modify translation of error message

i have an English Drupal installation but the frontend needs to be dutch. Now i asked a few weeks ago if it's possib开发者_开发技巧le to install a different backend and frontend language but this seems to be difficult. Now i only have one small message that isn't translated yet in the frontend and this is the required field error message (... field is required). How can i edit this translations? The may be an easy not so clean solution.


If you want an english backend and Dutch frontend you should use admin language that should fix that problem for you. In regards to translating the field required, that should be simple enough. It use a placeholder, so you might need to look for something like

@field is required

Drupal use this system when it use the same string with a dynamic value so you only need to translate it once and not for every combo.


thanks, for the admin_language module, but i found how to do this simple translation. You can override the translations using 'String overrides' ins settings.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜