-
Notifications
You must be signed in to change notification settings - Fork 87
Translating the admin dashboard
Heres some quick steps on how to translate the admin dashboard. First locate the "english" folder inside hoosk/hoosk0/language/
Now duplicate this folder and rename the copy to the language you are going to add
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)
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.
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.
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!