Re: internationalization (message
| От | Satoshi Nagayasu |
|---|---|
| Тема | Re: internationalization (message |
| Дата | |
| Msg-id | 4.3.2-J.20020621002013.025beef0@ns1.oak.forus.or.jp обсуждение исходный текст |
| Ответ на | Re: internationalization (message translation) (Jean-Michel POURE <jm.poure@freesurf.fr>) |
| Список | pgadmin-hackers |
>We tried hard to display Japanese characters in pgAdmin2, without success
>because VB does not support UTF-8 characters. If we cannot display Japanese
>characters, we are not going to be able to translate messages.
Is a UTF-8 support necessary to display translated messages
in single language (like French, or Japanese)?
I know UTF-8 can handle and display several language charactorsets
all at once, but I don't need it.
I need just switching languages of all messages in display.
I think it can be implemented as a message lookup mechanism.
In the GNU gettext mechanism, gettext() function looks up
a message catalog file (it is external resource file),
and if a translated message is found,
gettext() function returns a translated string.
For example, gettext("Hello") returns "Konnichiwa"
as Japanese charactor string, so
| printf( gettext("Hello") );
prints
| Konnichiwa
in Japanese environment.
This can be implemented under VB?
--
NAGAYASU Satoshi <snaga@snaga.org>
В списке pgadmin-hackers по дате отправления: