473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Localisation query

hai,

By using the following i can get the localised information for the
particular form in which am writing this code but what should i do if i
want to get the same language data for the other forms also..

Thread.CurrentThread.CurrentCulture = new CultureInfo("hi-IN");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("hi-IN");
ResourceManager rm = new
ResourceManager("WebSatellite.ResourceFile",Assemb ly.GetExecutingAssembly());
string st=rm.GetString("lblMessage");
lblMessage.Text=rm.GetString("lblMessage");
Regards,
Satheesh

Nov 19 '05 #1
1 934
if I understand correctly, you want to persist the culture information
throughout multiple web requests?

I've written a 3 part series on creating multilingual websites, it goes
beyond using the built-in resourceManager. You might find it all
interesting, but for now, check out:
http://www.openmymind.net/index.aspx...d=4#urlrewrite

it talks about how to use Global.asax and UrlRewriting to pass around the
culture.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!

"BabuLives" <sa************@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
hai,

By using the following i can get the localised information for the
particular form in which am writing this code but what should i do if i
want to get the same language data for the other forms also..

Thread.CurrentThread.CurrentCulture = new CultureInfo("hi-IN");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("hi-IN");
ResourceManager rm = new
ResourceManager("WebSatellite.ResourceFile",Assemb ly.GetExecutingAssembly());
string st=rm.GetString("lblMessage");
lblMessage.Text=rm.GetString("lblMessage");
Regards,
Satheesh

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: jaysonsch | last post by:
Hello! I am having some problems with a database query that I am trying to do. I am trying to develop a way to search a database for an entry and then edit the existing values. Upon submit, the...
29
by: shank | last post by:
1) I'm getting this error: Syntax error (missing operator) in query expression on the below statement. Can I get some advice. 2) I searched ASPFAQ and came up blank. Where can find the "rules"...
9
by: netpurpose | last post by:
I need to extract data from this table to find the lowest prices of each product as of today. The product will be listed/grouped by the name only, discarding the product code - I use...
12
by: Simon Harvey | last post by:
Whato chaps, I work (or am hoping to work! :) for a company that specialises in the following: - Localisation of media - including software, manuals, literature and training material. -...
3
by: Harvey | last post by:
Hi, I try to write an asp query form that lets client search any text-string and display all pages in my web server that contain the text. I have IIS 6.0 on a server 2003. The MSDN site says...
4
by: Diamondback | last post by:
I have two tables, WIDGETS and VERSIONS. The WIDGETS table has descriptive information about the widgets while the VERSIONS table contains IDs relating to different iterations of those widgets...
0
by: Olivier Carpentier | last post by:
Hi i think that i have a bug with Visual Studio 2003 with localisation of forms in design mode. It's don't working only with one solution, when i'm trying with another solution, it's working fine...
1
by: Tony | last post by:
I am currently using the localisation toolkit to provide a multi-language site, everything works just fine. But now I need to use a repeater to generate some lists. How can I achieve this? All the...
1
by: Olivier Matrot | last post by:
Hello, I have a W2K3 US Enterprise box on which ASP.NET localisation do not work. A standard installation on a fresh machine with same configuration (regional options and so on) is OK. If the...
2
by: fury | last post by:
Hey guys n gals I am using resource file to localise my user interface. But i have an issue with it. When i use assembly key file does not become strong!! and localisation does not work... When i...
0
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.