Hi,
Could anyone provide any suggestions on how to implement localization features for a multilingual website. Before you jump the guns, let me define the site structure a little more. We have a global site and around 40 country sites. Each of these country sites have localised information both in the native language (fr,de,de-at,it,ar,ar-ae etc). Also, each of these local country sites would have an english counterpart (fr-en,de-en etc). Currently, we do not see how we could define the resource files for the english version of the regional country sites. The issue being that there are no 'cultures' defined as 'fr-en' or 'en-fr'. Is there any way we can map an existing resource file somewhere within the server and use it within my application without copying the files to my App_LocalResour ce folder?
Also, is there any way we can specify the culture to be used for a page from within a user control or vice-versa. The way we see it, you have have individual resource files for both the page and the user control (and no, using the App_GlobalResou rces folder is not an option at the moment)
Hope you get the idea. Any help would be greatly appreciated.
Regards,
Sajit 5 3596
You may want to explain why you need "localized english" cultures in case
someone would have a better solution for the problem you are trying to
solve...
If you really need, you could create your own culture (see http://msdn2.microsoft.com/en-us/lib...9(VS.80).aspx). You have
properties on the page/thread to set the current culture...
--
Patrice
<Sajit> a écrit dans le message de news: eW************* *@TK2MSFTNGP02. phx.gbl... Hi, Could anyone provide any suggestions on how to implement localization features for a multilingual website. Before you jump the guns, let me define the site structure a little more. We have a global site and around 40 country sites. Each of these country sites have localised information both in the native language (fr,de,de-at,it,ar,ar-ae etc). Also, each of these local country sites would have an english counterpart (fr-en,de-en etc). Currently, we do not see how we could define the resource files for the english version of the regional country sites. The issue being that there are no 'cultures' defined as 'fr-en' or 'en-fr'. Is there any way we can map an existing resource file somewhere within the server and use it within my application without copying the files to my App_LocalResour ce folder?
Also, is there any way we can specify the culture to be used for a page from within a user control or vice-versa. The way we see it, you have have individual resource files for both the page and the user control (and no, using the App_GlobalResou rces folder is not an option at the moment)
Hope you get the idea. Any help would be greatly appreciated.
Regards, Sajit
Patrice, You may want to explain why you need "localized english" cultures in case someone would have a better solution for the problem you are trying to solve...
By instance because that you want the use a date.
These are different between the USA and the rest of the English speaking
world. As sample "September 11" and "11 September". As well would I prefer
not to show an Englishman/woman words as color etc.
Localization is nice, but at least I cannot get the globalisation
information from the normal webpage client (without and active X or
something). You can very easily get the used language, but that says nothing
about how you have by instance to write a date.
Therefore I am as well curious about the answers.
Cor
"Patrice" <sc****@chez.co m> schreef in bericht
news:uk******** *****@TK2MSFTNG P04.phx.gbl... You may want to explain why you need "localized english" cultures in case someone would have a better solution for the problem you are trying to solve...
If you really need, you could create your own culture (see http://msdn2.microsoft.com/en-us/lib...9(VS.80).aspx). You have properties on the page/thread to set the current culture...
-- Patrice
<Sajit> a écrit dans le message de news: eW************* *@TK2MSFTNGP02. phx.gbl... Hi, Could anyone provide any suggestions on how to implement localization features for a multilingual website. Before you jump the guns, let me define the site structure a little more. We have a global site and around 40 country sites. Each of these country sites have localised information both in the native language (fr,de,de-at,it,ar,ar-ae etc). Also, each of these local country sites would have an english counterpart (fr-en,de-en etc). Currently, we do not see how we could define the resource files for the english version of the regional country sites. The issue being that there are no 'cultures' defined as 'fr-en' or 'en-fr'. Is there any way we can map an existing resource file somewhere within the server and use it within my application without copying the files to my App_LocalResour ce folder?
Also, is there any way we can specify the culture to be used for a page from within a user control or vice-versa. The way we see it, you have have individual resource files for both the page and the user control (and no, using the App_GlobalResou rces folder is not an option at the moment)
Hope you get the idea. Any help would be greatly appreciated.
Regards, Sajit
This is more or less the kind of things for which I think there are other
solutions than creating additional cultures (for example it could be
possible to just "map" each country to a en-us or en-gb preference). Also
AFAIK the .NET framework differentiates the culture used for localized
strings and the one use for numbers, dates, hours etc... formatting (i.e :
it could be even possible to mix english and keep some local rules though it
could lead IMO to possible ambiguity (is 1,500 in "French English" 1 500 or
1.5 ?)
Hopefully the OP will give some explanation if he's not totally convinced
that he really have to create all those additional cultures...
--
Patrice
"Cor Ligthert [MVP]" <no************ @planet.nl> a écrit dans le message de
news: ea************* *@TK2MSFTNGP03. phx.gbl... Patrice,
You may want to explain why you need "localized english" cultures in case someone would have a better solution for the problem you are trying to solve...
By instance because that you want the use a date. These are different between the USA and the rest of the English speaking world. As sample "September 11" and "11 September". As well would I prefer not to show an Englishman/woman words as color etc.
Localization is nice, but at least I cannot get the globalisation information from the normal webpage client (without and active X or something). You can very easily get the used language, but that says nothing about how you have by instance to write a date.
Therefore I am as well curious about the answers.
Cor
"Patrice" <sc****@chez.co m> schreef in bericht news:uk******** *****@TK2MSFTNG P04.phx.gbl... You may want to explain why you need "localized english" cultures in case someone would have a better solution for the problem you are trying to solve...
If you really need, you could create your own culture (see http://msdn2.microsoft.com/en-us/lib...9(VS.80).aspx). You have properties on the page/thread to set the current culture...
-- Patrice
<Sajit> a écrit dans le message de news: eW************* *@TK2MSFTNGP02. phx.gbl... Hi, Could anyone provide any suggestions on how to implement localization features for a multilingual website. Before you jump the guns, let me define the site structure a little more. We have a global site and around 40 country sites. Each of these country sites have localised information both in the native language (fr,de,de-at,it,ar,ar-ae etc). Also, each of these local country sites would have an english counterpart (fr-en,de-en etc). Currently, we do not see how we could define the resource files for the english version of the regional country sites. The issue being that there are no 'cultures' defined as 'fr-en' or 'en-fr'. Is there any way we can map an existing resource file somewhere within the server and use it within my application without copying the files to my App_LocalResour ce folder?
Also, is there any way we can specify the culture to be used for a page from within a user control or vice-versa. The way we see it, you have have individual resource files for both the page and the user control (and no, using the App_GlobalResou rces folder is not an option at the moment)
Hope you get the idea. Any help would be greatly appreciated.
Regards, Sajit
> Localization is nice, but at least I cannot get the globalisation information from the normal webpage client (without and active X or something).
CurrentUICultur e is for localized content and CurrentCulture is for
formatting date/number/time, sorting, etc.
--
Mihai Nita [Microsoft MVP, Windows - SDK] http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
We need localized english content because the local country sites would have content different from the Master English site. Each of the 80 odd sites (in the corresponding local languages as well as their english counterparts) will have localised content. This is because of the fact that the business users/designated agencies world wide would be updating the content using our content management system. We have about 90% content pages and about 10% application pages. We are trying to implement the resx files for the application pages. The content pages would be published directly out of our CMS.
The resx files would hold the text to be used in labels, alerts and instructional text. The instructional text could vary from site to site. For example, the instructional text used in the English version of India/Australia sites would vary from the ones for UK/US.
Hope you get the idea.
Regards,
Sajit This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dejan Vesic |
last post by:
I found nasty "documentation" bug;
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemglobalizationcultureinfoclasstopic.htm
claims that proper culture info name for Serbian (Cyrillic) - Serbia
is "Cy-sr-SP" but if you try this, you will get "Culture name Cy-sr-SP
is not supported" exception.
If you set up culture info via
System.Globalization.CultureInfo(0x081A) and than retrieve
|
by: FM |
last post by:
Hi,
I use the following code to set the current culture.
If Not IsNothing(Session("language")) Then
System.Threading.Thread.CurrentThread.CurrentCulture = New
System.Globalization.CultureInfo(Session("language").ToString)
End If
|
by: Sky Sigal |
last post by:
I coming unglued... really need some help. 3 days chasing my tail all over
MSDN's documentation ...and I'm getting nowhere.
I have a problem with TypeConverters and
storage of expandableobjects to attributes in tags (think Style tag -> Style
object).
The problem that I am chasing is:
Html side:
|
by: francois |
last post by:
hi,
I have an ASP.NET application with a piece of code that looks like this:
(it is a VB.NET snippet)
Thread.CurrentThread.CurrentCulture = New
CultureInfo(Session.Item("Culture").ToString)
Thread.CurrentThread.CurrentUICulture = New
CultureInfo(Session.Item("Culture").ToString)
|
by: Cor Ligthert |
last post by:
Hello everybody,
Jay and Herfried are telling me every time when I use CDate that using the
datetime.parseexact is always the best way to do String to datetime
conversions. They don't tell why only that I have to listen to them because
they know it better.
They told also that in a business situation it is better to use
datetime.parseexact for changing cultures and not to use the globalization
setting. I did not give them this sample,...
| |
by: SimonZ |
last post by:
Hi,
I set the globalization settings to:
<globalization requestEncoding="utf-8" responseEncoding="utf-8"
fileEncoding="utf-8" culture="en-GB" uiCulture="en" />
Everything is just fine, only number formatting is not what I want.
The number formating is for en_GB culture: dot for decimal symbol and comma
|
by: =?Utf-8?B?S3Jpc2huYQ==?= |
last post by:
Hi,
I am krishna in India.I developed Asp.net application the default culture
settings is <globalization culture="en-US" uiCulture="en-US"/>.I need change
globalization settings for UK.How to modify the web.config file ?.What is
coorect culture for UK and India?.
Pls help
Thanks in Advance
Regards
T.A.Krishna
|
by: Sparkiee |
last post by:
Hi,
A lil bit of help required from you guys, I am trying to make a
windows service that will also focus on globalization, the problem i
am facing is when i am trying to put globalization code in app.config
the windows service throws an error its probably because of using the
<system.webin app.config that contains the globalization parameters,
copied and pasted from one of my asp.net website where i already used
the globalization and i...
|
by: TisMe |
last post by:
Hi All,
I am trying to use resource files to globalize my website application.
I had this working fine, working through the API for setting page
titles programatically, with the resource files in /resources
I then started to add declarative code to the web forms to controls
such as buttons and labels, as follows:
<asp:Label ID="lblHowFindOut" runat="server" Text="<%$
Resources:how_did_you_find_out_about_this_site %>" />
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |