Thai Language

Last post 01-18-2007, 9:41 PM by wenni. 2 replies.
Sort Posts: Previous Next
  •  01-17-2007, 11:12 PM 25898

    Thai Language

    Currenty we are using CuteEditor for ASP version 5.2.
    It is right that CuteEditor for the above version didn't support Thai Language?
    If we still need key some thai language using cute editor is it possible?
     
    I try to cut and paste thai word inside the cute editor some
    it looks ok but the version that i am using when i switch it to HTML tag some how it is converted to ASCII code example:
    า๔ภึหัห๗
    but when try to cut and paste the thai language inside the the cute editor given when i write a new post in the forum.. when i click on the HTML to view the code seems like it is still in thai language and not in ASCII code.
    Is this need to be set in the config file?
     
    Thanks
  •  01-18-2007, 2:02 PM 25917 in reply to 25898

    Re: Thai Language

    To add a new language file, follow the steps below:


    Find the Culture Name of your Language. Please reference "Culture Name" table at the bottom of the page.

    Create a new language file based on Culture Name and copy it to CuteSoft_Client\CuteEditor\Languages folder.


    • Create a new language xml file based on Culture Name. For example, el.xml (The Culture Name of Greek).
    • Copy all the content of en-us.xml to the el.xml.

      You should get the following xml file:

      <?xml version="1.0" encoding="UTF-8" ?>

      <root>

          <resource name="DenyAllAnonymous">Anonymous Users are not allowed in this chat application.</resource>

          <resource name="DenyRoomAnonymous">Anonymous Users are not allowed in this chat room.</resource>

          <resource name="NickNameIsExists">Nickname already exists.</resource>

          <resource name="YouAreRejected">You are rejected.</resource>

      ....

      </root>

    • After translating all strings in the above language file, copy it to CuteSoft_Client\CuteEditor\Languages folder.


    Culture Name Language-Country/Region
    th Thai
    th-TH Thai - Thailand

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-18-2007, 9:41 PM 25935 in reply to 25917

    Re: Thai Language

    Thanks Adam.
    Currently i face another problem.
    I have implement the editor on our application, we need to input in thai language.
    I configure the editor -- editor.UseHTMLEntities = false
    Have also include in the below meta tag for thai language:
    <meta http-equiv="Content-Language" content="th">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-874">
    <meta http-equiv="Content-Type" content="text/html; charset=tis-620">

    The first image below shows the text that i copied and paste Word document, but after it's saved to database, the text appearing in the text editor is not the same as what is copied in initially (please refer to the 2nd image)
     
    1st Image --> Before saving
     
     
     
    2nd Image --> After saving
View as RSS news feed in XML