facebook

i18n in html editor?

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #264496 Reply

    Owen Medd
    Member

    (Running MyEclipse 5.1GA under Windows XP [sigh])

    In the process of internationalizing our web site, I need to generate privacy statements in various languages. I have the source for these statements in MS Word documents.

    First issue I’ve run into is that I can’t seem to add *.html.cs (for Czech language) as an html file type. Well, I can add it, but the file is not recognized as html.

    Second issue is that cutting and pasting out of Word into the template html file results in not being able to save the file (characters not recognized in the cp1252 character set). I’ve changed my default character set in eclipse to UTF8 to try and work around this, but I’m open to wisdom from the collected masses on the best way to get this text into an html file.

    I’m re-installing open office to see if it’s html output is more appealing to the html editor and perhaps doesn’t have the character translation issues. I notice that my first attempt at generating html out of MS Word looks great on my Windows box but once put onto the test web server (Apache/Linux), characters have obviously been munged.

    Suggestions for getting this stuff in through MyEclipse?

    Thanks for any bits of knowledge for this i18n newbie.

    #264498 Reply

    Owen Medd
    Member

    Apparently setting the default character set to UTF8 (NOT the document character set, that never worked) fixed the character munging. Hurray!

    Still don’t have the *.html.cs and *.html.en files being treated as html. Ideas? Is the file association confused by multiple suffixes? Is there a different way to do this?

    Owen

    #264550 Reply

    Greg
    Member

    The best you can do is register *.cs and *.en pages as HTML files.

    – Go to Window > Preferences > General > Content Type s > Text > HTML
    – Under File associations use the “Add” button to add *.cs
    – Click add again to add *.en

    That should do it.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: i18n in html editor?

You must be logged in to post in the forum log in