Translation ispconfig to chinese but have a trouble

Discussion in 'General' started by allen_uhm, Jan 11, 2008.

  1. allen_uhm

    allen_uhm New Member

    Hi, I like use ispconfig very much, And I'm new in ispconfig.

    I want to translation ispconfig to chinese, Everything is fine on Debian etch OS with firefox. The trouble is the chinese font too big or small in ispconfig on winXP with Internet explorer 6.0 and the charset is gb2312.

    For example the chinese font too small in right windows menu. And have some font too big on other page.

    I think is about the font-family or the font type on Debian OS ??

    Here is my chinese language file beta and I'm sorry my english and chinese.
     

    Attached Files:

  2. falko

    falko Super Moderator Howtoforge Staff

    Does this happen only in IE, or in other browsers as well?
     
  3. allen_uhm

    allen_uhm New Member

    This image is on firefox 2.0 with winxp OS.

    I feel the chinese font is worse than on IE.
     

    Attached Files:

    • 004.jpg
      004.jpg
      File size:
      31.8 KB
      Views:
      202
  4. allen_uhm

    allen_uhm New Member

    This images is on IE 6.0 with winxp.

    I think is about the "font-family" ??

    I want to change the font-family or font-size in ispconfig. But I don't know where to change.
     

    Attached Files:

    • 005.jpg
      005.jpg
      File size:
      25.2 KB
      Views:
      215
    Last edited: Jan 13, 2008
  5. falko

    falko Super Moderator Howtoforge Staff

    Did you check the HTML source code if there's a CSS file referenced there? If so, you could modify the CSS file.
     
  6. allen_uhm

    allen_uhm New Member

    thanks falko

    I find it's about the font face, change in two file

    /home/admispconfig/ispconfig/web/multidoc/edit/edit.php
    /home/admispconfig/ispconfig/web/isp_kunde/edit/edit.php

    seacrh "deck2", and find this code

    PHP:
        $deck2 .="<td height=\"14\" bgcolor=\"$deck_nav_color\">
                        <div align=\"center\"><a href=\"javascript:changeDeck(
    $key)\" class=\"link8\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\">".$go_api->lng($val->title)."</font></a></div>
    Change
    PHP:
    <font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\">".
    To
    PHP:
    <font face=\"Arial, Verdana, Helvetica, sans-serif\" size=\"1\">".
    The chinese font in the middle bar is fine on the IE 6.0 and IE7.0
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page