문제

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.

도움이 되었습니까?

해결책

In your model, do:

acts_as_gmappable :language => 'pt-BR'

all available languages are specified in the doc.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top