Stichoza / google-translate-php

🔤 Free Google Translate API PHP Package. Translates totally free of charge.
MIT License
1.79k stars 380 forks source link

Country an cities sometimes are not translated #188

Closed MattiaMarchiorato closed 1 year ago

MattiaMarchiorato commented 1 year ago

Hello @Stichoza , first of all thanks for your package ;) We faced an issued with countries translations, if you try to translate from it_IT to en_EN some countries or cities is not working:

You can try with:

But if you try to tranlate more than one words like:

is woking correctly.

Thanks

MM

Stichoza commented 1 year ago

Which version are you using? Can you also provide exact sentence in which cities are not translated? I tried several variants and each time Roma was translated to Rome.

MattiaMarchiorato commented 1 year ago

Hello @Stichoza , is the 4.1.6 You can try with "Roma" or "Francia", just the single word from IT to EN.

Thanks

MM

Stichoza commented 1 year ago

Both words are translated correctly.

Try newer version of this package or check translation quality part in readme.

image
MattiaMarchiorato commented 1 year ago

@Stichoza ,

ok we updated to 4.1.7 and seems better.

Thank you!