Add new language

All languages for Bittytorrent
Post Reply
User avatar
BittyTorrent
Site Admin
Posts: 155
Joined: Sat Jul 07, 2018 11:08 am
Has thanked: 2 times
Been thanked: 6 times
Contact:

Add new language

Post by BittyTorrent » Sun Jul 22, 2018 12:10 pm

Image

To create a new translation of ur bittytorrent language, open the file: libs/startup.php
Search:

Code: Select all

$hook->addMenuLang('ru',$lang["russe"], '?strLangue=ru', 'ru.png', '5');
And add after (exemple for italian lang):

Code: Select all

$hook->addMenuLang('it','Italien', '?strLangue=it', 'it.png', '6');
Add lang_it.php (Sorry, the file is not translated!) in libs/lang/
Add it.png in themes/asset/img/flag
Attachments
it.png
it.png (783 Bytes) Viewed 55 times
lang_it.zip
(2.63 KiB) Downloaded 5 times

Post Reply