I’m trying to setup Turkish language support for a Rails project on Postgresql
First of all, following settings added into
config/database.yml to support Turkish language:
development: ... collation: tr_TR.UTF-8 ctype: tr_TR.UTF-8 template: template0
After that, tr_TR.UTF-8 locale generated with
sudo dpkg-reconfigure locales command.
But I’m getting following error on
PG::WrongObjectType: ERROR: invalid locale name: "tr_TR.UTF-8"
How can I correct invalid locale name errors?