Up
  • Mods and files
    • All files
    • Exclusives
    • Author files
    • Best files of the week
    • Upload file
  • News
  • Cheats
  • Articles
  • Guides
  • EN
New comments
GTA 6 GTA 5 GTA San Andreas GTA 4 GTA Vice City GTA 3 Red Dead Redemption 2 Red Dead Redemption Other games Mod Development Miscellaneous
  • Mods and files
  • GTA San Andreas
  • Multiplayer
  • Server scripts
  • Localization of your server

Localization of your server

  • Localization of your server / GTA San Andreas
  • Localization of your server / GTA San Andreas
GTA San Andreas / Multiplayer / Server scripts
Author:
TheInsaneKiller
More details
Uploaded:
TheInsaneKiller Subscribe You are subscribed
Size:
918 byte
Uploaded:
23 June 2017
Downloads:
188
Total downloads: 188
Unique downloads: 124
8.7 / 10
15 people rated the file
H-Stevenson
NOSVIPER
L.D.G.
Bryxanov1337
daniel 360
ВОВА ВОВ
TraToToxa
Poya
Skive
Mor
Jesus_Christ
TheCrazyGamer
TheInsaneKiller
Philips_27
KONFLIKT
No one has rated the file yet.
Download Download in Telegram Download in Discord
To favorites In favorites
  • 1498165177_script.rar
    Virus check from Virustotal: the file is safe (view report)
    Download (0.00 MB)
  • yadi.sk
    Download

A simple script for MTA San Andreas, thanks to which it becomes possible to quickly translate the server into various languages. In order to add your language, write a new xml file in the meta.xml file in the langs folder based on other localization files. To get the desired text, launch the resource (if all the required text is included in the localization files) and then use the following function in the script you need to get the text you need:

exports.dt_lang:getText( , here you specify from which file you want to load the text)

For example:

1. Based on those xml files that are present in the archive, add your own text to them

2. Refer to it

exports.dt_lang:getText( "testtext", "ru" )

Can be used on any projects (currently if you will use it, point me somewhere as the one who participated in the development of your server :D )

And yes, if something is not clear, ask

The file name and description have been translated. Show original (RU)Show translation (EN)
Локализация вашего сервера

Простенький скрипт для MTA San Andreas, благодаря которому появляется возможность быстрого перевода сервера на различные языки. Для того, чтобы добавить свой язык, пропишите новый xml файл в файле meta.xml в папке langs на основе других файлов локализации. Для получения нужного текста запустите ресурс(если весь нужный текст прописан в файлы локализации) и затем в нужном вам скрипте используйте вот такую функцию для получения нужного вам текста:

exports.dt_lang:getText( , тут указываете, из какого файла нужно загрузить текст )

Например:

1. На основе тех xml файлов, которые присутствуют в архиве, добавляем в них свой текст

2. Ссылаемся на него

exports.dt_lang:getText( "testtext", "ru" )

Можно использовать на любых проектах (ток если вы рил это будете использовать, укажите меня где-нибудь как того, кто поучаствовал в развитии вашего сервера :D )

И да, если что не понятно, спрашивайте

Comments 2
© 2008- LibertyCity
Creator and developer: Evgenii Sokolov
Copying materials without the permission of the administration or the respective owners is strictly prohibited.
Contact us
Mobile version Desktop version
Mods and files News and articles Cheats and guides Users
Click here for advanced file search