Project

General

Profile

Plugin localisation

Added by Aleksandar Pavic about 7 years ago

How can

rake locales

be used on plugins?

It does not take any arguments, and only works on core?

Am I missing something or such rake task would have to be created for plugins and take plugin name as an argument?

By the way is there some tool which would extract strings?

Something line this: http://zigzag.github.io/2009/12/17/get-your-local-rails-application-ready-for-i18n.html


Replies (1)

RE: Plugin localisation - Added by Mischa The Evil about 7 years ago

Aleksandar Pavic wrote:

How can [rake locales] be used on plugins?

AFAIK, it just can't. It does not come with support for plugin locale management.

[...] and only works on core?

Indeed.

[...] such rake task would have to be created for plugins and take plugin name as an argument?

Indeed, maybe you can have a look at it? The current source of the locales task is located at source:/trunk/lib/tasks/locales.rake.

    (1-1/1)