Localisation RRS feed

  • Question

  • User1674979707 posted

    AS part of Language Integration, I am localising my project. I am facing a problem.

    If there is an apostrophe in a word, eg.  Te'le'phone, in the web browser it is displayed as

    Tlphone. How do I solve this.

    Wednesday, July 29, 2009 11:48 PM

All replies

  • User-2024178180 posted

    are you storing these data in SQL Server and fetching it back for display purpose? if yes than I would like you to store data like this 

    strINS= "insert into tablename values(name) values (" + txtName.Text.Replace("'","''") + ")";

    in replace there is double quote (") than single quote (') and than double quote again in first argument. in second argument double quote two single quote and than double quote.

    Moreover, if you are using any unicode character than use proper collation in SQL Server. if you are directly trying to print data as a simple static text, there shouldn't be any problem

    Thursday, July 30, 2009 4:52 AM
  • User1674979707 posted

    No. I am storing it in a text file. Then using the resgen command, I create a resource file for this. In the resource file also, the word as well as the apostrophe is missing. The same is displayed in the browser.

    Thursday, July 30, 2009 5:09 AM
  • User-2024178180 posted

    what language you want to display in resource page? eg: spenish, french etc.

    Thursday, July 30, 2009 6:02 AM
  • User1674979707 posted

    I have to display it in either English or French, depending on the language selected while logging in 

    Thursday, July 30, 2009 6:14 AM
  • User-2024178180 posted

    I guess you are missing something in creating resx file for french. can you please go through the link below?


    Thursday, July 30, 2009 6:26 AM
  • User1674979707 posted

    Thanks for the reply. But the tutorial didn't help in solving the issue.

    Thursday, July 30, 2009 7:18 AM