Help
Quicklinks:
Installing LangThis
LangThis can be added to many kinds of websites and platforms. It has to be added directly to the code by the programmer.
You can find the instructions for this in the Code section.
LangThis also has a broad list of plugins for different systems as, WordPress and PHPFusion. These can be found on the plugins page.
The Code
This will create the default button that can be used on any website. You can start with this code, or generate your own by Signing in or Signing up and pressing the Get Your Button link on the right of your site.
Default Menu Code
<a href="http://www.langthis.com/" class="langthis"><img src="http://www.langthis.com/img/btn-gb1.png" alt="langthis!" /></a>
Don´t you know what to write in the variables (writen in bold), please see the variables section.
The Code can be split into two sections: HTML and External Javascript.
Back to TopHTML Code
This is what you will see on your webpage. In this example you will see a button.
This part of the code is where you can make changes to customize the button. For more information on customization visit the design customize page.
External Javascript
The variables (writen in bold), are very important for your button to work.
Don´t you know what to write in the variables (writen in bold), please see the variables section.
Back to TopLangThis Variables
YOUR LANGTHIS SITE ID *
The Site ID variable is important for your translation stats to work.
If you don´t have a user, leave this variable blank or set it as 0.
On the picture below you can see where to find your Site ID, when you are logged in. There is a unique ID for each site!
* This variable requires user registration.
Back to TopYOUR LANGTHIS USERNAME *
The Username variable is important for your translation stats to work.
If you don´t have a user, leave this variable blank or set it as 0. Otherwise if you have a user the variable is the username you registered as.
* This variable requires user registration.
Back to TopYOUR SITES LANGUAGE
The site language variable is required for your button to work.
Find your language in the left row, and choose the language variable from the right row.
| Language | Variable for this language |
| Albanian | al |
| Arabic | arab |
| Bulgarian | bg |
| Brazilian P. | br |
| Belarusian | by |
| Catalan | catalan |
| Chinese S. | cn |
| Czech | cz |
| German | de |
| Danish | dk |
| Spanish | es |
| Finnish | fi |
| French | fr |
| Galician | galician |
| English | gb |
| Greek | gr |
| Croatian | hr |
| Hungarian | hu |
| Indonesian | id |
| Irish | ie |
| Hebrew | il |
| Hindi | in |
| Persian | ir |
| Icelandic | is |
| Italian | it |
| Japanese | jp |
| Korean | kr |
| Latin | latin |
| Latin A. | latinamerica |
| Lithuanian | lt |
| Latvian | lv |
| Macedonian | mk |
| Maltese | mt |
| Malay | my |
| Dutch | nl |
| Norwegian | no |
| Filipino | ph |
| Polish | pl |
| Portuguese | pt |
| Romanian | ro |
| Serbian | rs |
| Russian | ru |
| Swedish | se |
| Slovenian | si |
| Slovak | sk |
| Thai | th |
| Turkish | tr |
| Chinese T. | tw |
| Swahili | tz |
| Ukrainian | ua |
| Vietnamese | vn |
| Welsh | wales |
| Yiddish | yiddish |
| Afrikaans | za |