Localization - Show Hindi Fonts On Web Application?
Jan 8, 2010
how can i show matter in Hindi Language on my asp.net page. and the main thing is that my text should be visible even if the Hindi font is not installed at client side. for that i researched on Google and find out that unicode can do it.. but i dont know how to work with it.
View 2 Replies
Similar Messages:
Mar 10, 2010
I want to display Hindi/malayalam text in webpages. i done a sample by pasteing a Hindi text in a rich text box and tried to display in a literal control. it's working fine.But, I save that Hindi text to database basically it is the image descrtption. Image description datatype in sql server is Nvarchar(Max). After reading the description and puting back in literial control it just showing some question marks. How to resolve this issue.
View 6 Replies
Apr 8, 2014
I am Exporting Crystal Report to pdf in hindi font it displaying as boxes i have installed adobe reader 11.0 with asian extended language pack in my local system. (English is working fine problem is with only with hindi font)
View 1 Replies
Apr 26, 2010
I want to make a user control,language for this control should be hindi.and all values in dropdownlist in this control should be in hindi.How to accomplish this?
View 2 Replies
Mar 7, 2011
I want to Display my date string in Hindi or Marathi language. Date is saved in my data base and
I want Display In Hindi or Marathi. For Example-
07/03/2011 Now i want to display ७ मार्च २०११
View 2 Replies
Aug 28, 2010
Code to convert english to hindi string
View 2 Replies
Dec 27, 2010
I want to show both Hijri and Gregorian date in tow labels when I select date from Calender control .
Is that possible in asp.net 3.5 c# ?
If this possible , How I can save booth formats in the table in sql server 2005 database (tow filds (hijridate <DateTime> -GregorianDate<datetime>))?
View 12 Replies
Feb 21, 2011
I want to show both Hijri and Gregorian date in tow labels when I select date from Calender control .
Is that possible in asp.net 3.5 c# ?
If this possible , How I can save booth formats in the table in sql server 2005 database (tow filds (hijridate <DateTime> -GregorianDate<datetime>))??
View 2 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
Nov 2, 2010
In my application i used .resx files. Now i need to deploy my application in a single dll. Once i deploy and add this dll as a refernce in other client applications then the culture specific dlls are added under Bin directory in client application. I don't want this to happen. Should i embed or link the satellite assembly in my applicaion to avoid this? if so how to do this?
View 3 Replies
Mar 29, 2010
I had created ASP.Net Web Application named 'Traning Management System' (in English) for my company. Now my boss wants me to translate that application to Arabic language. He wants everything to be in arabic. I don't know how to do it. I searched in google and came to know about localization and globalization. I could not understand the topics. My application contains 1 master page, 5 .aspx pages. The pages mostly contains labels, textboxes, gridview, buttons and other controls. The project also contains reports.
View 4 Replies
Nov 5, 2010
I have the .net application which is in english words in the interface.
They are text in label or they are UI words.
If change to other language, what method should I use??
View 1 Replies
Aug 18, 2010
How to maintain a web application in different languages.
For Examplel(English, Chinees,German...)
Need any Detailed Example.
View 1 Replies
May 28, 2010
I need to build a globalized web application, and I already have those resource files in the App_GlobalResources folder. My web application is built upon an N-tier architecture: DAL, BLL and Presentation are the layers, and we are using SQL Server 2008. We have decided that the database, BLL and DAL will always be operating using the en-US culture, but the culture in the Presentation layer can vary.
ASP.NET works with two culture properties: Culture and UICulture. There's an article in MSDN that states that a thread's UICulture determines which resource files ASP.NET picks, and Culture determines datetime/currency formating, etc.
So, to have a fully globalized application, I think I must set both Culture and UICulture, so that both Resources and datetime/currency formating are displayed using the same culture.
Then I thought I would set those culture properties (both of them) in the BeginRequest event in my web application, based on the user's choice, and that everytime a method in the BLL is called, it sets the thread's Culture property to "en-US" and, just before it returns, it sets the thread's Culture back to what it was before.
View 1 Replies
Jul 15, 2010
I am working on a web forms application that needs to support multiple languages based on a user's preference. Here are some considerations to keep in mind about the needed solution:
I want to avoid using resource files to store the different text translations because I'd like the ability to change them without having to recompile and deploy the application.
Also the translations ideally need to be adminstratable.
It seems its a considerable amount of effort to add this support to an existing application.
View 3 Replies
Sep 21, 2010
I want my web application to support multiple langauges like english,german,etc
Is there a way we can do this in visual studio or is ther any other way
View 3 Replies
May 19, 2010
how to use multilingual application using UNICODE in c#.
View 3 Replies
Mar 11, 2010
I'm creating a multi-language web site using ASP.NET and Framework 3.5. So far no login required. Everything has been working fine. But when I update my windows 7 and software and compile the site the follow error appear
Server Error in '/' Application.
Compilation Error
Description:
An error occurred during the compilation of a resource required to service this request. review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30554: 'ProfileCommon' is ambiguous.
This are my codes:
web.config
<connectionStrings>
</connectionStrings>
<system.net>
<mailSettings>
<smtp from="[URL]">
<network host="[URL]" port="587" />
</smtp>
</mailSettings>
</system.net>
<system.web>
<anonymousIdentification enabled="true"/>
<authorization>
<allow users="*" />
</authorization>
<!--profile inherits="System.Web.Profile.ProfileBase"-->
<profile defaultProvider="AspNetSqlProfileProvider" inherits="System.Web.Profile.ProfileBase">
<properties>
<add name="UICulture" allowAnonymous="true" defaultValue="es-PR"/>
<add name="Culture" allowAnonymous="true" defaultValue="es-PR" />
<add name="PreferredCulture" allowAnonymous="true" defaultValue="es-PR"/>
</properties>
</profile>
<globalization culture="es-ES" uiCulture="es-ES"/>
<!--
Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
default.aspx
<script runat="server">
Protected Overrides Sub InitializeCulture()
Dim CurrentContext As HttpContext = HttpContext.Current
Dim UserCulture As String = CurrentContext.Profile.GetPropertyValue("PreferredCulture").ToString()
If UserCulture <> "" Then
Thread.CurrentThread.CurrentUICulture = New CultureInfo(UserCulture)
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(UserCulture)
End If
End Sub
Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
If Not IsPostBack Or CStr(Session("CultureName")) <> CultureInfo.CurrentCulture.Name Then
Session("CultureName") = CultureInfo.CurrentCulture.Name
End If
End Sub 'Page_Load
Protected Sub SetLanguage(ByVal sender As Object, ByVal e As EventArgs)
'Save selected user language in profile
Profile.SetPropertyValue("PreferredCulture", "es-PR")
'Force re-initialization of the page to fire InitializeCulture()
Response.Redirect(Request.Url.LocalPath)
End Sub
Protected Sub SetLanguageEn(ByVal sender As Object, ByVal e As EventArgs)
'Save selected user language in profile
Profile.SetPropertyValue("PreferredCulture", "en")
'Force re-initialization of the page to fire InitializeCulture()
Response.Redirect(Request.Url.LocalPath)
End Sub
</script>
If I run the olds files with the precompiled file this work.
View 1 Replies
Jun 7, 2010
I am little confused regarding the concepts of localisation and globalization.I was working on a project which was totally database driven. All the data, images and flash stuff was coming from the database. Now the site is fully loaded with the data.Now the client wants the currently running site in 5 different languages. So I read the resource files concept. Now the confusion arises. I have 2 types data on the site, one is static(ie text on labels, titles, buttons) and dynamic data that was added from the admin panel.Now my question is: If at this stage I want to make the site in 5 different languages, then I have to make the resource files for all those languages so that the static data can be displayed in different languages.But what about the dynamic data that was entered by the client. Client uploaded huge amount of data. Should I make the changes in the database tables and add 4 other columns for different languages and again upload that much data in those 4 languages.
View 3 Replies
Feb 16, 2010
My application is in arabic. When i run my application locally it is working fine but after uploading it on the server, the arabic content is not showing. All my labels and HTML content are not showing in arabic. I am using Master Page.
View 2 Replies
May 21, 2010
I have VS 2008 and 3.5 framework.I want to set up my application that I can store my content to database.I have lots of controls that from labels to images, datagrids, telerik controls, etc to keep in mind.I use SQL server 2005.
View 1 Replies
Apr 30, 2013
I want to multilanguage my sitemappath with global resource how should I do this?
I tried this but doesn't work what do I wrongweb.sitmap:
<?xml version="1.0" encoding="utf-8"?><siteMapxmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"><siteMapNodetitle='$Resources: Resource, Home'url="~/Home"><siteMapNodeurl="Login.aspx"title="$Resources: Resource, Login"/>
But if I do this I see ("Nothing" separator "Nothing")
View 1 Replies
Mar 3, 2010
I need some people to edit the ressource file without seeing html markup.
How can I do that .. ? I tried RESX edition but it doesn't hide the markup.
View 3 Replies
May 5, 2010
How do we determine which country I'm.Let's say I created the application and i want to have a flag in upper right of the page.if the user browse my page it display the flag where he from.let's say he's browsing my page in america the American Flag will be displayed.if i browse my page here in the Philippines the Philippine Flag will be displayed.
View 6 Replies
May 6, 2010
I am trying to programatically create a bitmap with a specified font in ASP.Net. The idea is that the text, font name, size color etc. will be passed in from variables and a bitmap of the text using the font etc will be returned. However, I have been finding that I am only able to do so using the following code with certain fonts.
<div>
<%
string fontName = "Segoe Script"; //Change Font here
System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(100, 100);
System.Drawing.Graphics graph = System.Drawing.Graphics.FromImage(bmp);
[Code]...
If I change the font name in the areas indicated by the comments to Arial or Verdana both the image and the label appear with the correct font. If however, I change the font name in both locations to something "Segoe Script" the Label will show up in Segoe Script but the image is in what looks like Arial.
Update:
Based on this question here I was able to get it working by using a PrivateFontCollection() and loading the font file like so.
<div>
<%
string TypeFaceName = "Segoe Script";
System.Drawing.Text.PrivateFontCollection fnts = new System.Drawing.Text.PrivateFontCollection();
[Code]....
View 2 Replies