Frage

Does anyone has a problem with Gmaps4rails address language?

I'm getting the address in english language, but I need it in portuguese. Like Brasil instead Brazil.

I have set some language options (language: 'pt-BR'), but didn't work.

War es hilfreich?

Lösung

In your model, do:

acts_as_gmappable :language => 'pt-BR'

all available languages are specified in the doc.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top