Skip to content

Translating the admin dashboard

Callum Henry edited this page Jul 9, 2016 · 1 revision

Translating the admin dashboard

Heres some quick steps on how to translate the admin dashboard. First locate the "english" folder inside hoosk/hoosk0/language/

Language Folder

Now duplicate this folder and rename the copy to the language you are going to add

Language Folder

Enter your new folder and open the "admin_lang.php" file in your code editor of choice, this is the main language file and contains all the text inside the admin dashboard (except from the Sir Trevor content editor, it cannot yet be translated easily)

Language Folder

Now replace the english after each "=" to the translated equivelant, it is important to leave all the $lang['variable'] parts as they are, this is how the templates know which part of text goes where.

Language

Once your finished upload your new language folder and file and log in to the dashboard, head over to the settings page and you will see your new language available as an option in the language dropdown.

Language

Select it and click the save button, when you return to the dashboard you will see it is now in your new language, easy peesy!

If you would like to contribute your translation then send it in as a zip file using the support ticket system here and I will add it to this post for others to use!

Clone this wiki locally