Up
  • EN
Sign in to the site
  • Mods and files
    • All files
    • Exclusives
    • Author files
    • Best files of the week
    • Upload file
  • News
  • Cheats
  • Articles
  • Guides
    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 for Your Server

Localization for Your Server

  • Localization for Your Server / GTA San Andreas
  • Localization for 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:
229
Total downloads: 229
Unique downloads: 165
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 that allows for quick translation of the server into various languages. 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 required text, launch the resource (if all the necessary text is written in the localization files) and then use this function in the script you need to get the text you want:

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

For example:

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

2. Reference it

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

This can be used in any projects (just if you really use this, please mention me somewhere as someone who contributed to the development of your server :D )

And yes, if anything is unclear, feel free to 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 - 2025 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