Localization :: DateTime Format, Differences Between Spanish An English?
May 21, 2010
I'm suffering a well known problem with globalization, but, I tried to find the answer in the forum and got nothing. My computer has regionalization or globalization from Colombia, as i live there. I made my site and when I published I started to get errors on dates. This errors happen because in Spanish the date format is 'dd/MM/yyyy' being dd:day, MM:month and yyyy:year. In English the date format is 'MM/dd/yyyy'.There is any form or way to correct this in the entire site?? Maybe something in the web.config file?
View 2 Replies
Similar Messages:
Jul 22, 2010
Using vb.net 2005/asp.net I thought I had the issue solved: I have some strings with spanish characters such as "ñ" and I need to replace characters with their non-spanish equivalent, ex: the example I just mentioned would be changed to "n".
[Code]....
when I put a breakpoint I see that usually my code replaces the characters the way that I want and all is good but some replacements are not working well and looking at my breakpoint it appears that there are non-readable characters that are included with the spanish characters and it seems that I need to do some kind of normalization on the string but not sure what to do. I have a text "caroliné" that i processing and in the code above it appears to replace the last char with an "e" but when I return the value from the function I am able to see some non readable characters (appearing on my watchlist as a small square) and the resulting string is actually "carolina" which is confusing.
View 3 Replies
Jul 15, 2010
Why would a DropDownList switch from Spanish into English when one selects a new item in it? And how does one prevent that from happening?
[Code]....
When you first come to this page after having chosen Spanish as your language, the dropdown is populated with the ListItems texts displaying -- as expected -- in Spanish. But when you go to select another item from the dropdown, all the items come back in English!
When you examine the dropdown before the AutoPostBack (both server-side and in FireBug), each ListItem is properly set, as in
Value="Some English" Text="Some Español"
whereas **after** the PostBack, it looks like
Value="Some English" Text="The same English"
Why is this happening, and what can I do to get it to keep the Spanish one sees before any PostBacks?
**Notes**:
1. The routine pointed to in `OnSelectedIndexChanged` is currently commented out, so the problem is not there.
2. I added `EnableViewState="true"` to the DropDownList, but that didn't make any difference, so I removed it.
3. As suggested below by Ichiban, I moved setting the `Thread.CurrentThread.CurrentUICulture` from `Page_Load` to `Page_Init()`, but that too didn't make any difference.
View 4 Replies
Dec 29, 2010
I have one web page that has some spanish contents , in design view it shows fine , but when I view it in browser, it shows gibberish character, for instance: i have following character in desing view Unión and it gets dispalyed Unión in browser what am I doing wrong, or is there any reference I am missing.
View 3 Replies
Oct 29, 2010
I have two tables for storing language translations - tblEN and tblES. They have the same structure which is nvcEnglish and nvcLocal - both nVarChar fields.
In nvcLocal of the Spanish table, I enter the Spanish translations of words and phrases used within my app. Problem is, when I add a bunch of new records to the English table I also have to go in and repeat the data entry into the Spanish table. I am wondering if there is a way to import the newly added records into the Spanish table using Transact SQL?The plain language query would be something like:
If the data in tblEN.nvcEnglish does not exist in tblES.nvcEnglish then insert a new row into tblES with the values from tblEN
View 5 Replies
Jan 10, 2010
I am developing a site in Persian (it a right to left language), and it's supposed to be used both with IE7 and IE8. I don't have any problems with IE7 but in IE8 all my numbers show in English instead of Persian; ie instead of showing ١٢٣ , IE8 shows 123. I tested Culture and UICulture but they didn't solve the problem.
By a great chance, I found that if I Omit "DocType" tag from top of my pages this problem resolves, but some other problems appear like my Ajax popup dialog box won't work as it used to in both IE7 and IE8; I've also seen warnings that say CSS Styles may not work properly without "DocType" tag.
What's wrong with <!DocType>? And How can I solve my problem?
View 3 Replies
Nov 11, 2010
I am doing the music store tutorial, and I discovered a problem, I don't know how to solve this. I am in Argentina, and our decimals have this format: '0.000,00' instead of the american format: '0,000.00'. I add the:
[Code]....
But now in the form when I write a number in this format '00,00' It shows me the message "Price must be between 0.01 and 100.00", but if I change that number to one in the '00.00' format, the client validator is hidden and It allows me to save, but then the server validation returns the following message: "The value '34.34' is not valid for Price." Cause when trying to save It must be waiting for a 00,00 formatted number. So...
View 4 Replies
Apr 14, 2010
I have developed a website in English, i want this application to be in arabic also. Say suppose there are 50 members 30 knew english and 20 knew arabic , when i open my application it should open to them in specific language.
my application will have many entry fields(name,address..) and buttons to save , search. The arabic text entered in textbox should be viewable by both english and arabic known guys in their respective language. (ie) the arabic text should be readable in english for english known person and in arabic for arabic known person and viceversa., so that 50 member details should be viewable to 50 persons in their language.
View 7 Replies
May 19, 2010
Now I am developing a shopping cart website in english. Is there any way to convert this to Arabic and Chinese languages with one link click
View 4 Replies
Jun 1, 2010
I wish to convert a string (english language) into it's equivalent Germen language.
key 65 is charachter 'a' but if the keyboard's layout is german and key code is 65, it should display the german charachter that equivalent to keycode 65....
Now, how do I achieve this kind of convertion?
View 1 Replies
Jun 4, 2010
i want to display dynamic text like the News in Arabic and english Language should I create two fields in the database For arabic and english?and how to select the english News when the user select English? (Note:i know to display the static text like the menus in arabic and english)
View 2 Replies
May 2, 2010
My daabase has lots of german characters stored. While I read it from DB and display it in the gidview, everything is fine. The Gridview displays the german characters perfectly in the browser.After the display phase, when I read the data from the gridview as gridview.rows[1].cells[2].text, I get some special characters - But the gridview shows the text as 'ä' in the first row, second column. But while reading it back it givesä
View 1 Replies
Mar 29, 2011
I am trying to create a button with text in 2 languages English and Bengali.
I hav created two resource files for each of them.In the English I have written 'Hello' as the value for the key and for the
bengali I copied the word from google.
But when I paste I only see squares in the value box of the resource file(not the actual fonts).
This is despite the fact that I have installed Bengali fonts on the machine.
What is the problem?
View 3 Replies
Apr 15, 2010
i want to develope an asp.net website which support multi language like french ,english, german how to do this with out any hard code also user must not b aware of how the site is changing it language he just click on country flag and the site language change to that country national language
View 6 Replies
Mar 5, 2010
I want to create a Dictionary... where i can get Dictionary database or World lists (english to english , english to hindi)
View 1 Replies
Jan 21, 2010
I created a UserControl and added a public DateTime property. I want to set this property in Markup (ie. <cc1:MyControl runat="server" id="MyControl1" DateTimeProp="1/1/2010" /> ) however I live in a place with a dd/mm/yyyy date format so it complains if I set something like "20/1/2010". Is there a way to set markup in my local datetime format or do I have to conform to "mm/dd/yyyy"?
View 2 Replies
Jul 17, 2015
<asp:TemplateField HeaderText="" meta:resourcekey="PStartTime" ItemStyle-CssClass="cssItemStyle" HeaderStyle-CssClass="cssItemStyle">
  <ItemTemplate>
     <asp:Label ID="lblPStartTime" runat="server" Text='<%#Eval("PStartTime")%>'></asp:Label>
  </ItemTemplate>
  <ItemStyle Width="25%" Height="30px" HorizontalAlign="left" />
</asp:TemplateField>
I am showing the pages in English and Arabic using Local Resources in my website. I want to show Gregorian date time in Gridview  in both English and Arabic Pages(ar-SA). How I will do it,
View 1 Replies
Sep 10, 2010
explain reasons why the name property of a Repeater control's child controls would be generated differently in an ASP.NET application when it is deployed on different IIS servers?
One some IIS servers the Name is generated using the format:
String.Format("{0}:_ctl{1:00}:{2}", RepeaterControlID, itemIndex, ChildControlID);
e.g.
<input name="Mntc_Software_List:_ctl1:id" id="Mntc_Software_List__ctl1_id" type="hidden" value="1772" />
and on other IIS servers the format is:
String.Format("{0}$ctl{1}${2}", RepeaterControlID, itemIndex, ChildControlID);
e.g.
<input name="Mntc_Software_List$ctl01$id" type="hidden" id="Mntc_Software_List_ctl01_id" value="1772" />
View 2 Replies
Mar 4, 2010
I have a page with two textboxes (one for english and one for korean)..
I want users to be able to enter an english word or enter a korean word in each respective textboxes...
Now I can only enter english in both of them... Even if my keyboard language is switched to Korean(I have the language pack installed).. I can not type in Korean in the Korean text box....
I thought I could simply change this using something like:
[Code]....
View 1 Replies
Jun 24, 2010
how can i change exception message language to English without changing the users language
[Code]....
View 1 Replies
Jun 7, 2010
site that is multilingual.I am using a database to store the text I have a translation object that loads the correct language using session variables.I recently found that on google.fr for example,only the english text is referenced and no french text at all.
View 1 Replies
Aug 28, 2010
Code to convert english to hindi string
View 2 Replies
Oct 25, 2010
I have a situation where I need to display the time in 24hr clock mode rather than 12hr mode. Is there a way to do this?
I need it to just display the the Hours & Mins e.g. 13:42. AM or PM is optional.
View 1 Replies
Jan 7, 2011
I have an urgent issue with US datetime, in my application I am tring to achieve the following:
1. Enter a datetime in a text box in web form 1
2. Show the date time in the label in the web form 2
3. In web form 2, create a dropdownlist to get a nearest date from database (datatype = DateTime in dd/MM/yyyy) to the date entered from step 1.
In step 1, I am only allowed to enter the date time in US style in text box and I have tried manything like:
- Insert <globalization culture="auto:en-GB" uiCulture="auto:en-GB"/> in web.config
- Set above culture on page webform 1 and 2
I am based in UK, PC reginal and datetime setting are UK dd/MM/yyyy, sql database is in UK.
View 2 Replies
Jul 30, 2010
I am working on application which is deployed in UK environment. But the machine which I am using has US as dateculture.
I always face issues while running application on my machine as some of the functionality which involves date doesnot work and throws exception.
I tried to google on the datetime conversion issue but it did not help.
Can any one please guide me about the changes to be done so that the application works fine in both US and UK environments?
View 2 Replies