eetemadi@ce.sharif.edu writes:
> Is there any document that can help me for implementing all localization
> support in my language?
What you need to fix your ordering issues is a new locale definition
that sorts the way you want. The Postgres docs won't help you with
that; you'll need to go find some documentation about how libc works
with locales.
If you want to develop a set of localized Postgres error messages,
we do have some documentation about how to do that --- see the "Native
Language Support" chapter in the "Internals" section.
regards, tom lane