HomeHome  
  • WelcomeWelcome  
  • Events  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • RegisterRegister  
  • Log inLog in  
  • You are not connected. Please login or register


    Translate your forum

    avatar
    • Administrator

        Reputation : 315
        Registered on : 2012-02-22
        Posts : 2362
        School of codes courses: coming soon
      Translate your forum

      Hello,

      If your forum, like this, as members of different nationalities, we suggest you to add this resource to help them to better understand the forum.


      Translate your forum


      Description

      Allow members to choose the language of the forum as they see it. This will help everybody to better understand the forum functions.

      Note: You will translate all the forum, but not the content of topics...

      Demo

      Code

      You have to reply to this topic to see the code (avoid Flood)


      [hide]The first point you have to do is the one of adding this javascript code in your forum:
      Code:
      <form action="file:///C:/profile" enctype="multipart/form-data" method="post" name="post" id="ucp" class="translateforum"><select name="language"><option value="pt" selected="selected" title="Português">Português</option><optgroup label="----------------"></optgroup><option value="en" title="English">English</option><option value="es" title="Español">Español</option><option value="fr" title="Français">Français</option><optgroup label="----------------"></optgroup><option value="af" title="Africaans">Africaans</option><option value="ak" title="Akan">Akan</option><option value="am" title="Amharic">Amharic</option><option value="ar" title="العربية">العربية</option><option value="as" title="Asturianu">Asturianu</option><option value="az" title="Azəri">Azəri</option><option value="be" title="Беларускi">Беларускi</option><option value="bg" title="български">български</option><option value="bh" title="Bihari">Bihari</option><option value="bn" title="Bengali">Bengali</option><option value="br" title="Brezhoneg">Brezhoneg</option><option value="bo" title="Tibetan">Tibetan</option><option value="bs" title="Bosnian">Bosnian</option><option value="ca" title="Català">Català</option><option value="co" title="Corsican">Corsican</option><option value="cs" title="Čeština">Čeština</option><option value="da" title="Dansk">Dansk</option><option value="de" title="Deutsch">Deutsch</option><option value="dv" title="Divehi">Divehi</option><option value="el" title="Ελληνικά">Ελληνικά</option><option value="en" title="English">English</option><option value="eo" title="Esperanto">Esperanto</option><option value="es" title="Español">Español</option><option value="et" title="Eesti">Eesti</option><option value="eu" title="Euskara">Euskara</option><option value="fa" title="Farsi">Farsi</option><option value="fi" title="Suomi">Suomi</option><option value="fo" title="Faroese">Faroese</option><option value="fr" title="Français">Français</option><option value="fy" title="Frisian">Frisian</option><option value="ga" title="Irish">Irish</option><option value="gd" title="Scots Gaelic">Scots Gaelic</option><option value="gl" title="Galician">Galician</option><option value="gn" title="Guarani">Guarani</option><option value="gu" title="Gujarati">Gujarati</option><option value="ha" title="Hausa">Hausa</option><option value="he" title="עברית">עברית</option><option value="hi" title="हिन्दी">हिन्दी</option><option value="hr" title="Hrvatski">Hrvatski</option><option value="hu" title="Magyar">Magyar</option><option value="hy" title="Armenian">Armenian</option><option value="ia" title="Interlingua">Interlingua</option><option value="id" title="Indonesian">Indonesian</option><option value="ig" title="Igbo">Igbo</option><option value="is" title="Íslenzka">Íslenzka</option><option value="it" title="Italiano">Italiano</option><option value="ja" title="日本語">日本語</option><option value="jw" title="Javanese">Javanese</option><option value="ka" title="ქართული">ქართული</option><option value="kk" title="Kazakh">Kazakh</option><option value="km" title="Cambodian">Cambodian</option><option value="kn" title="Kannada">Kannada</option><option value="ko" title="한국말">한국말</option><option value="ku" title="Kurdî">Kurdî</option><option value="ky" title="Kyrgyz">Kyrgyz</option><option value="la" title="Latin">Latin</option><option value="lg" title="Luganda">Luganda</option><option value="ln" title="Lingala">Lingala</option><option value="lo" title="Laothian">Laothian</option><option value="lt" title="Lietuvių">Lietuvių</option><option value="lv" title="Latviešu">Latviešu</option><option value="mg" title="Malagasy">Malagasy</option><option value="mi" title="Maori">Maori</option><option value="mk" title="македонски">македонски</option><option value="ml" title="Malayalam">Malayalam</option><option value="mn" title="Монгол">Монгол</option><option value="mo" title="Moldavian">Moldavian</option><option value="mr" title="Marathi">Marathi</option><option value="ms" title="Malay">Malay</option><option value="mt" title="Maltese">Maltese</option><option value="ne" title="Nepali">Nepali</option><option value="nl" title="Dutch">Dutch</option><option value="nn" title="Norsk (Nynorsk)">Norsk (Nynorsk)</option><option value="no" title="Norsk">Norsk</option><option value="ns" title="Northern Sotho">Northern Sotho</option><option value="oc" title="Occitan">Occitan</option><option value="om" title="Oromo">Oromo</option><option value="or" title="Oriya">Oriya</option><option value="pa" title="Punjabi">Punjabi</option><option value="pl" title="Polski">Polski</option><option value="ps" title="Pashto">Pashto</option><option value="pt" title="Português">Português</option><option value="qu" title="Quechua">Quechua</option><option value="rm" title="Romansh">Romansh</option><option value="rn" title="Kirundi">Kirundi</option><option value="ro" title="Romana">Romana</option><option value="ru" title="Русский">Русский</option><option value="rw" title="Kinyarwanda">Kinyarwanda</option><option value="sa" title="Sakha">Sakha</option><option value="sc" title="Српски Ћирилица">Српски Ћирилица</option><option value="sd" title="Sindhi">Sindhi</option><option value="si" title="Sinhalese">Sinhalese</option><option value="sk" title="Slovenčina">Slovenčina</option><option value="sl" title="Slovenščina">Slovenščina</option><option value="sn" title="Shona">Shona</option><option value="so" title="Somali">Somali</option><option value="sq" title="Shqip">Shqip</option><option value="sr" title="српски">српски</option><option value="st" title="Sesotho">Sesotho</option><option value="su" title="Sundanese">Sundanese</option><option value="sv" title="Svenska">Svenska</option><option value="sw" title="Swahili">Swahili</option><option value="ta" title="Tamil">Tamil</option><option value="te" title="Telugu">Telugu</option><option value="tg" title="Tajik">Tajik</option><option value="th" title="ไทย">ไทย</option><option value="ti" title="Tigrinya">Tigrinya</option><option value="tk" title="Turkmen">Turkmen</option><option value="tl" title="Tagalog">Tagalog</option><option value="to" title="Tonga">Tonga</option><option value="tr" title="Türkçe">Türkçe</option><option value="tt" title="Tatarish">Tatarish</option><option value="tw" title="繁體中文">繁體中文</option><option value="ui" title="Uighur">Uighur</option><option value="uk" title="Українська">Українська</option><option value="ur" title="Urdu">Urdu</option><option value="uz" title="Uzbek">Uzbek</option><option value="vi" title="Tiếng Việt">Tiếng Việt</option><option value="cy" title="Cymraeg">Cymraeg</option><option value="xh" title="Xhosa">Xhosa</option><option value="yi" title="Yiddish">Yiddish</option><option value="yo" title="Yoruba">Yoruba</option><option value="zh" title="中文简体">中文简体</option><option value="zu" title="Zulu">Zulu</option></select><input name="page_profil" value="preferences" type="hidden"><input name="mode" value="editprofile" type="hidden"><input name="agreed" value="true" type="hidden"><input name="coppa" value="" type="hidden"><input name="user_id" value="9" type="hidden"><input class="buttonok" name="submit" value="Ok" type="submit"></form>

      Then, add this code to your CSS stylesheet:
      Code:
      .translateforum {
      position: fixed;
      bottom: 0px;
      left: 0px;
      background:
      white;
      padding: 3px;
      border-top-right-radius: 4px;
      border: 1px solid
      #CCC;
      border-bottom-width: 0px;
      }

      General Informations

      Code creator:EtanaCode tested on: All forum versions - All browsersChecked by: NikoExtra infos: Only languages appliable in the administration panel are allowed

      Codes last updated on 10th June 2012 - 19:25 by Niko



      Niko wants you in the team Guest

      Community manager and Administrator at Forumattivo.com

      avatar
      • ***


          Reputation : 1
          Registered on : 2014-12-11
          Posts : 49
          Love Fmcodes
        This seems helpful


        YOUR BANNER HERE
        728x90
        DMCA.com Protection Status
        © PunBB | Contact | Report an abuse