M
Matthias S.
Hi everybody,
I'm starting to design a Portal-Style application which should support a
couple of languages. What I figured is that one could use various resx
files to localize more or less "static" information such as labels and
short text blocks.
But what about Lookup-Table-Data stored in the SQL Server. Say I have a
table containing Priorities ("High", "AboveNormal", "Normal",
"BelowNormal", "Low"). This table is used to fill a DropDown in some
place. How would I go about localizing this? Sure, I could use a table
containing a StringID column and one Column for each Language supported.
But this seems a bit awkward to me, since I would have to add a new
column for each new language and besides that, when adding a new
language, resource files would have to be maintained as well as the
database table (adding a new column and translating the strings).
And what about pages, that largely consist of text (html formatted)?
How is this done in real-world applications? Best thing would be to have
all localization in one place, so that the effort to add a new language
can be minimized.
Any suggestions are very welcome!
Matthias
I'm starting to design a Portal-Style application which should support a
couple of languages. What I figured is that one could use various resx
files to localize more or less "static" information such as labels and
short text blocks.
But what about Lookup-Table-Data stored in the SQL Server. Say I have a
table containing Priorities ("High", "AboveNormal", "Normal",
"BelowNormal", "Low"). This table is used to fill a DropDown in some
place. How would I go about localizing this? Sure, I could use a table
containing a StringID column and one Column for each Language supported.
But this seems a bit awkward to me, since I would have to add a new
column for each new language and besides that, when adding a new
language, resource files would have to be maintained as well as the
database table (adding a new column and translating the strings).
And what about pages, that largely consist of text (html formatted)?
How is this done in real-world applications? Best thing would be to have
all localization in one place, so that the effort to add a new language
can be minimized.
Any suggestions are very welcome!
Matthias