I have seen the samples for multilanguage support regarding what is normally
static content.
Can anyone point me to a good sample for multilanguage support for dynamic
content. Like a gridview that is populated from a database?
TIA
--
AG
Email: discuss at adhdata dot com 15 2484 http://msconline.maconstate.edu/tutorials/default.aspx
"AG" <NO**********@newsgroups.nospamwrote in message news:%2****************@TK2MSFTNGP05.phx.gbl...
>I have seen the samples for multilanguage support regarding what is normally static content.
Can anyone point me to a good sample for multilanguage support for dynamic content. Like a gridview that is populated from a
database?
TIA
--
AG
Email: discuss at adhdata dot com
Thanks for the quick reply Jon. That looks like a great source for
tutorials, however, I don't see anything related to
multilanguage/regionalization, etc.
--
AG
Email: discuss at adhdata dot com
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message
news:Ot**************@TK2MSFTNGP04.phx.gbl...
http://msconline.maconstate.edu/tutorials/default.aspx
"AG" <NO**********@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>>I have seen the samples for multilanguage support regarding what is normally static content. Can anyone point me to a good sample for multilanguage support for dynamic content. Like a gridview that is populated from a database?
TIA --
AG Email: discuss at adhdata dot com
Setup a table with the cultures you intend to support,
and setup a column for each language in your content tables.
Follow the instructions here : http://openmymind.net/index.aspx?doc...#databasequery
You can skip directly to : Database Design
There's sample tables, query and stored procedure you can use as a guide to develop your own.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"AG" <NO**********@newsgroups.nospamwrote in message news:Oe**************@TK2MSFTNGP04.phx.gbl...
Thanks for the quick reply Jon. That looks like a great source for tutorials, however, I don't see
anything related to multilanguage/regionalization, etc.
--
AG
Email: discuss at adhdata dot com
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message
news:Ot**************@TK2MSFTNGP04.phx.gbl...
>http://msconline.maconstate.edu/tutorials/default.aspx
"AG" <NO**********@newsgroups.nospamwrote in message news:%2****************@TK2MSFTNGP05.phx.gbl...
>>>I have seen the samples for multilanguage support regarding what is normally static content. Can anyone point me to a good sample for multilanguage support for dynamic content. Like a gridview that is populated from a database?
TIA --
AG Email: discuss at adhdata dot com
Hello AG,
As for database table based localization solution, it also depend on your
resource data's structure and how you'll use them in the application.
You can arrange the localization data in database as:
1. define an cultureID column in each resource table and store
multilanguage resources for a certain business module in a single table
2. create a separate table for each language/culture so that you always
query any resoruce specific to a language/culture from a single table.
Actually, this is very like the static (resx, assembly) based localication
For your scenario, I think #1 is more suitable. Here are some web articles
discussing on this same topic:
#Globalization and localization demystified in ASP.NET 2.0 http://www.codeproject.com/useritems/localization.asp
#ASP.NET 2.0 Globalization & Localization solution http://www.codeproject.com/Purgatory...nalization.asp http://forums.asp.net/1126817/ShowPost.aspx
Please feel free to post here if there is anything else you wonder.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks Juan, good article!
--
AG
Email: discuss at adhdata dot com
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OZ**************@TK2MSFTNGP03.phx.gbl...
Setup a table with the cultures you intend to support,
and setup a column for each language in your content tables.
Follow the instructions here :
http://openmymind.net/index.aspx?doc...#databasequery
You can skip directly to : Database Design
There's sample tables, query and stored procedure you can use as a guide
to develop your own.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"AG" <NO**********@newsgroups.nospamwrote in message
news:Oe**************@TK2MSFTNGP04.phx.gbl...
>Thanks for the quick reply Jon. That looks like a great source for tutorials, however, I don't see anything related to multilanguage/regionalization, etc.
--
AG Email: discuss at adhdata dot com "Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message news:Ot**************@TK2MSFTNGP04.phx.gbl...
>>http://msconline.maconstate.edu/tutorials/default.aspx
"AG" <NO**********@newsgroups.nospamwrote in message news:%2****************@TK2MSFTNGP05.phx.gbl.. . I have seen the samples for multilanguage support regarding what is normally static content. Can anyone point me to a good sample for multilanguage support for dynamic content. Like a gridview that is populated from a database?
TIA --
AG Email: discuss at adhdata dot com
Thanks Steven,
Those and Juan's article give me a great start.
--
AG
Email: discuss at adhdata dot com
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:Hw**************@TK2MSFTNGXA01.phx.gbl...
Hello AG,
As for database table based localization solution, it also depend on your
resource data's structure and how you'll use them in the application.
You can arrange the localization data in database as:
1. define an cultureID column in each resource table and store
multilanguage resources for a certain business module in a single table
2. create a separate table for each language/culture so that you always
query any resoruce specific to a language/culture from a single table.
Actually, this is very like the static (resx, assembly) based localication
For your scenario, I think #1 is more suitable. Here are some web articles
discussing on this same topic:
#Globalization and localization demystified in ASP.NET 2.0 http://www.codeproject.com/useritems/localization.asp
#ASP.NET 2.0 Globalization & Localization solution http://www.codeproject.com/Purgatory...nalization.asp http://forums.asp.net/1126817/ShowPost.aspx
Please feel free to post here if there is anything else you wonder.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
Thanks Steven, more very good info!
--
AG
Email: discuss at adhdata dot com
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:WY*************@TK2MSFTNGXA01.phx.gbl...
You're welcome AG,
Just got some additional resource on building custom database based
localization provider for ASP.NET 2.0:
#Custom localization resource provider using an Access database http://www.leftslipper.com/ShowFaq.aspx?FaqId=9
#ASP.NET 2.0 Custom SQL Server ResourceProvider http://www.codeproject.com/aspnet/cu...erprovider.asp
Hope this also helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
Hi,
Steven Cheng[MSFT] wrote:
Just got some additional resource on building custom database based
localization provider for ASP.NET 2.0:
if I may jump in here - assuming one is using resource files instead of a
DB (be it Access or SQL or whatever else) for localization-purposes. How
would you enable any translation-office to translate your textual content
into any given language? At least that's the reason why I have my own DB
along with the texts and descriptions plus a win-forms application that I
can hand over in order to get translations. If there'd be a way of having a
simple way of transfering those resource-files there and back (and it's a
bunch of those!), I'd prefer to use the built-in support ...
Cheers,
Olaf
--
My .02: www.Resources.IntuiDev.com
Good point Olaf.
Is there anything Steven?
--
AG
Email: discuss at adhdata dot com
"Olaf Rabbachin" <Ol*********@IntuiDev.comwrote in message
news:Oo****************@TK2MSFTNGP03.phx.gbl...
Hi,
Steven Cheng[MSFT] wrote:
>Just got some additional resource on building custom database based localization provider for ASP.NET 2.0:
if I may jump in here - assuming one is using resource files instead of a
DB (be it Access or SQL or whatever else) for localization-purposes. How
would you enable any translation-office to translate your textual content
into any given language? At least that's the reason why I have my own DB
along with the texts and descriptions plus a win-forms application that I
can hand over in order to get translations. If there'd be a way of having
a
simple way of transfering those resource-files there and back (and it's a
bunch of those!), I'd prefer to use the built-in support ...
Cheers,
Olaf
--
My .02: www.Resources.IntuiDev.com
Thanks for Olaf's input.
Hi AG,
I think what Olaf has mentioned is also one weakpoint of using static
resource file based localization approach. Actually, for resource
file(satelitte assemblies), you'd better only store some fixed, not dynamic
(not database driven) localization data in resource file. Thus, all the
translation work should be done at design-time with the resx xml
files(which can also be manipulate through .net resource API). After the
resource has been compiled to .resource file or resource assembly, they'll
not be changable without recompile/generate the resource. Therefore, for
those application which will localize the data/content that is database
driven, it is better to use database based localization solution. Do you
think so?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Hi,
Steven Cheng[MSFT] wrote:
After the resource has been compiled to .resource file or resource
assembly, they'll not be changable without recompile/generate the
resource.
.... which shouldn't be much of a problem as .Net should detect the change
in the files' date and recompile them on-the-fly. At least that's what I'd
think. :-)
Therefore, for those application which will localize the data/content
that is database driven, it is better to use database based localization
solution. Do you think so?
The background is really only the problem to hand over i.e. a base-language
to translators thus enabling them to do their work. Until now I have done
my ext-app approach for translators only with win-forms applications.
With ASP.Net (running on the web as opposed to IntraNet-Apps) I'm rather
thinking about a page (or set of pages) to let them do that right in the
application itself.
However, this also has its weaknesses in distributed scenarios, i.e. with
one web-app deployed to different/independently running websites.
I think that there should really be some built-in way of dealing with this
problem, i.e. an object that can handle a set of .resx-files. Years back,
you were doing this kind of thing with simple (unicode-) text-files ...
Alternatively, I could be learning more languages and do it myself! ;-)
Gruß,
Olaf
--
My .02: www.Resources.IntuiDev.com
Thanks Steven.
Yes, I agree.
In my case (if I get the project), a good portion of the content will be
coming from a database anyway, so it would probably be best to keep it all
in a database.
--
AG
Email: discuss at adhdata dot com
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:VA****************@TK2MSFTNGXA01.phx.gbl...
Thanks for Olaf's input.
Hi AG,
I think what Olaf has mentioned is also one weakpoint of using static
resource file based localization approach. Actually, for resource
file(satelitte assemblies), you'd better only store some fixed, not
dynamic
(not database driven) localization data in resource file. Thus, all the
translation work should be done at design-time with the resx xml
files(which can also be manipulate through .net resource API). After the
resource has been compiled to .resource file or resource assembly, they'll
not be changable without recompile/generate the resource. Therefore, for
those application which will localize the data/content that is database
driven, it is better to use database based localization solution. Do you
think so?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
Thanks for the followup AG.
As always, welcome to post here whenever you need any help.
Have a good day!
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Someone would be able to help me with russian/cyrillic on IE-7!!!
I lost an ability to see any text on russians websites and enconding doesn't
work as well with IE-7!!!
"Steven Cheng[MSFT]" wrote:
You're welcome AG,
Just got some additional resource on building custom database based
localization provider for ASP.NET 2.0:
#Custom localization resource provider using an Access database http://www.leftslipper.com/ShowFaq.aspx?FaqId=9
#ASP.NET 2.0 Custom SQL Server ResourceProvider http://www.codeproject.com/aspnet/cu...erprovider.asp
Hope this also helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Giovane Calabrese |
last post by:
ok. im try to make a multilanguage system based on that
tutorial :
http://www.123aspx.com/redir.aspx?res=29112
in my aspx pages all text are in labels , and i want to
take the name labels...
|
by: Aftab Alam |
last post by:
Hello All
I wanted to know that how can I build an application which takes arabic or
urdu input
I mean when I type something in my applications edit box it writes arabic.
please do let me know...
|
by: |
last post by:
Could you be more precise? Do you want to print a pre-
defined text or random text? Do you want the user to
select it, or look it up in the regional settings of
windows?
>-----Original...
|
by: Michal Táborský |
last post by:
I am wondering, if it's effective to use text arrays to store
multilanguage information.
We used to do it like this:
CREATE TABLE product (
id serial NOT NULL,
price float4,
...
)
|
by: Stu |
last post by:
Hi,
I am nearing the end of a multilanguage conversion and have just come across
a page which has a calendar control on it that needs translating. The
current language of the site is stored in a...
|
by: HelmutStoneCorner |
last post by:
Hi,
I am connected as a german client to a multilanguage server, Regional
Options: English, US. Western Europe and US. The W2K Server (Terminal)
-version: english(US) runs a french database. My...
|
by: Pitaridis Aristotelis |
last post by:
I would like to make a multilanguage project such a way that I will be able
to give a sample text file to various pepole around the world in order to
translate it in various language. How can I...
|
by: paolob |
last post by:
I need to provide multilanguage support to my application. I alredy
writed a multilanguage test application, using VS6 and resource only
dll. Now i'm using Visual Studio 2005, I find out that it...
|
by: Sourcerer |
last post by:
How to implement multilanguage support for a program in VC++ in MSVS .NET?
What I mean by this is how to make texts, such as texts on command buttons,
labels, etc. show in different languages,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |