[Taginfo-dev] French translation for taginfo

Jochen Topf jochen at remote.org
Sat Oct 15 11:47:08 BST 2011


On Sat, Oct 15, 2011 at 12:09:55PM +0200, Jocelyn Jaubert wrote:
> Le 15 octobre 2011, Jochen Topf a écrit :
> > And I have also fixed a long-standing bug with the language switching.
> > Unfortunately that means that normal Taginfo web pages are not cached
> > any more. But I think thats not too bad, because the API requests are
> > still cached and they are whats most expensive.
> 
> I'm getting the following error when switching languages on
> taginfo.openstreetmap.fr (the full log is attached). It might because I
> have an apache frontend that redirects requests with ProxyPass and
> ProxyPassReverse directives.
> 
> NoMethodError - undefined method `+' for nil:NilClass:
>         ./taginfo.rb:144:in `GET /switch_locale'
>   [...]
> localhost - - [15/Oct/2011:11:49:23 CEST]
> "GET /switch_locale?url=%2Fkeys%2FFIXME&locale=en HTTP/1.1" 500 30
> 
> 
> I'm attaching the configuration for reference. The code I'm running is
> available on:
> https://github.com/jocelynj/taginfo/commits/fr

You have to add a new parameter in the configuration file: instance.url

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298




More information about the Taginfo-dev mailing list