Re: Internationalization

Поиск
Список
Период
Сортировка
От Justin
Тема Re: Internationalization
Дата
Msg-id 49DF9E53.1030607@emproshunts.com
обсуждение исходный текст
Ответ на Internationalization  (Pedro Doria Meunier <pdoria@netmadeira.com>)
Ответы Re: Internationalization  (Pedro Doria Meunier <pdoria@netmadeira.com>)
Список pgsql-general
Pedro Doria Meunier wrote:
> Hi all,
>
> I'm wondering how to internationalize contents of a table, short of
> having a column for each language string ...
> Anyone with some experience to share? :)
>
> Regards,
> Pedro Doria Meunier
>
How about parent child table layout.  The child table has one record for
translation for each document.  something like this

Create table ParentDoc (
    docid serial,
    description text )

Create table ChildDoc (
    docid integer,
    doc_text text,
    short_description text,
    language text )

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Multiple character encodings within a single database/table?
Следующее
От: chinchu2005
Дата:
Сообщение: ERROR: array subscript out of range