473,383 Members | 1,846 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,383 software developers and data experts.

help with localization

Hi there,

can anyone help me with this one.... i have a page which is in normal
english format, but when i wanna change it to Russian format text, i set the
Culture code, but it still remains the same. Does this mean that every bit
of text i need to convert every label on my screens in order for them to
show or is there an easier way to this?

thanks for anybody's help.

PM
Nov 17 '05 #1
2 1667
Hi Paul

I'm afraid that setting the page Culture and uiCulture properties only serve
to set the executing threads CurrentCulture and CurrentUICulture properties
respectively. Setting the Culture to Russian will at least ensure that
things like dates & currencies will display correctly, and will affect some
string comparisons and the rendering of certain server controls (for
example, try a Calendar control). Setting the uiCulture will cause any
resource lookups that you make go to the correct resource file, but there's
no automatic generation of resource files as you may be used to with Windows
Forms programming, and no automatic retrieval of the appropriate strings. As
you guessed, you have to customize every label yourself.

If you don't mind me plugging a company product, you might like to have a
look at Localizer; its a component which adds design time localization
support to VS WebForms:

http://www.winformreports.co.uk/features_loc.htm

the getting started guide has some info on where resource files should live
and what they should be named:

http://www.winformreports.co.uk/loca...ntro_howto.htm

There is also an Enterprise Localization Toolkit available from MS; I
haven't used it, but I've heard good things about it:

http://msdn.microsoft.com/library/de...loctoolkit.asp

Regards
Joe

"Paul M" <mi****@hotmail.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
Hi there,

can anyone help me with this one.... i have a page which is in normal
english format, but when i wanna change it to Russian format text, i set the Culture code, but it still remains the same. Does this mean that every bit
of text i need to convert every label on my screens in order for them to
show or is there an easier way to this?

thanks for anybody's help.

PM

Nov 17 '05 #2
Thanks for your reply.

I have gone ahead and created 2 assembly resource files for the 2 languages,
but the non-english language does not display the text in the russian format
as i want. Am i missing out on something here?

regards,
Paul.

"Joe Glover" <jo**************@ntlworld.com> wrote in message
news:rI***************@newsfep1-win.server.ntli.net...
Hi Paul

I'm afraid that setting the page Culture and uiCulture properties only serve to set the executing threads CurrentCulture and CurrentUICulture properties respectively. Setting the Culture to Russian will at least ensure that
things like dates & currencies will display correctly, and will affect some string comparisons and the rendering of certain server controls (for
example, try a Calendar control). Setting the uiCulture will cause any
resource lookups that you make go to the correct resource file, but there's no automatic generation of resource files as you may be used to with Windows Forms programming, and no automatic retrieval of the appropriate strings. As you guessed, you have to customize every label yourself.

If you don't mind me plugging a company product, you might like to have a
look at Localizer; its a component which adds design time localization
support to VS WebForms:

http://www.winformreports.co.uk/features_loc.htm

the getting started guide has some info on where resource files should live and what they should be named:

http://www.winformreports.co.uk/loca...ntro_howto.htm

There is also an Enterprise Localization Toolkit available from MS; I
haven't used it, but I've heard good things about it:

http://msdn.microsoft.com/library/de...us/dnaspp/html
/entloctoolkit.asp
Regards
Joe

"Paul M" <mi****@hotmail.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
Hi there,

can anyone help me with this one.... i have a page which is in normal
english format, but when i wanna change it to Russian format text, i set

the
Culture code, but it still remains the same. Does this mean that every bit of text i need to convert every label on my screens in order for them to
show or is there an easier way to this?

thanks for anybody's help.

PM


Nov 17 '05 #3

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

Similar topics

0
by: Amin Schoeib | last post by:
Hi, I am a Postgres newbie who worked until now with Oracle. Now I want to know if it is possible (when yes the how?) in Postgresql To set dynamically the Localization? For example in Oracle you...
1
by: KMILO | last post by:
Hello, Thanks ins advance for reading my message Im trying to use many .resx files for different webforms when I try to the project the following error appears: Could not find any resources...
6
by: Rental | last post by:
I'm having the sam problem as described below with the Localization toolkit. Does anyone know if there is a solution to this problem. --->When attempting to generate resource dlls with...
5
by: CMM | last post by:
I don't seem to "get" ASP.NET 2.0's Localization features. I've read up on everything... and of course, everything is explained in cursory softball terms- not any "real-world" usage way. I hope...
5
by: archana | last post by:
Hi all, I am having confusion regarding localization in .net. I have one form on which i have some labels and button. After designing that form what i did is set localization property of form...
2
by: bruno | last post by:
I need to localize my ASP.NET app and I just used "Tools" --"generate local resources" command and everything works fine in my WebForms. Resource file name is: MyWebForm.aspx.resx under a subDir...
3
by: Corey B | last post by:
I have an ASP.NET application that was built in ASP.NET v1.1. It has a SQL Server back end database. I have been asked to provide an estimate for the level of effort required to produce a Chinese...
3
by: Computer Guru | last post by:
I have a VB.NET 2005 application with several forms and a couple hundred "strings." I've been looking into all the localization improvements in VB.NET, and I can't seem to find anything that...
1
by: 2310b | last post by:
I have a web form in which i use OnPreRender to load controls. it works fine BUT no matter what other events I call, the OnPreRender keeps executing. If I click on one of the buttons to fire off...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.