[BeviS] Multi language

  • Konbuyu başlatan Konbuyu başlatan Admin
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 34

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
azk22d.png


YgzrrD.png





İndir :
Virüs Total :


when login with pc.get_lang() == 'ro' begin
syschat("Limba ta este "..pc.get_lang()..".")
end
when login with pc.get_lang() == 'en' begin
syschat("Your language is "..pc.get_lang()..".")
end


Metin2 Sunucularında BeviS ile Çoklu Dil Desteği Nasıl Uygulanır?

Metin2 özel sunucularında kullanıcı deneyimini artırmak için çeşitli gelişmiş sistemler entegre edilmektedir. Bunlardan birisi de BeviS adlı çoklu dil (multi-language) sistemidir. Bu sistem sayesinde, farklı ülkelerden gelen oyuncular kendi dillerinde menü, mesaj ve arayüz öğelerini görebilirler. Bu da hem kullanıcı memnuniyetini artırır hem de sunucunuzun daha geniş bir kitleye ulaşmasını sağlar.

BeviS Nedir?

BeviS, Metin2 özel sunucu geliştiricilerinin kullanabileceği bir C++ tabanlı çoklu dil desteği sunan sistemdir. Bu sistem, hem client-side hem de server-side üzerinde çalışarak, oyuncuların tercih ettikleri dile göre dinamik olarak içerik sunar. BeviS, modüler yapı sayesinde kolayca entegre edilebilir ve özelleştirilebilir.

Neden BeviS Kullanmalısınız?

1. Geniş Dil Desteği: BeviS, birden fazla dilin aynı anda desteklenmesini sağlar. Türkçe, İngilizce, Almanca gibi dilleri kolayca entegre edebilirsiniz.
2. Kullanıcı Dostu Arayüz: Oyuncular, dil tercihlerini kolayca değiştirebilir ve bu değişiklikler anlık olarak uygulanır.
3. Geliştirici Dostu Kod Yapısı: C++ tabanlıdır ve Martysama veya diğer popüler sistemlerle uyumlu çalışır.
4. Sunucu Performansını Etkilemez: Sistem, optimize edilmiş bir yapıya sahiptir ve sunucu üzerinde minimum performans kaybı yaratır.

BeviS Kurulumu ve Yapılandırması

BeviS sistemini kurabilmek için öncelikle Metin2 client src ve game server src üzerinde değişiklik yapabilmeniz gerekir. Bu işlem için C++ bilginiz olması önemlidir. BeviS, genellikle 'locale' dosyaları üzerinden çalışır. Bu dosyalarda her dile ait metinler tanımlanır.

Örneğin, system.py veya uiscript dosyalarında bulunan yazılar, BeviS tarafından belirlenen dile göre otomatik olarak değiştirilir. Aynı zamanda, py root dizinindeki yapıya göre sistem çalıştığı için, doğru dosya yollarının ayarlanması gerekir.

Dil Dosyalarının Yönetimi

Her dil için ayrı bir JSON ya da XML dosyası oluşturulabilir. Örneğin: lang_tr.json, lang_en.json. Bu dosyalarda anahtar-değer eşlemeleri yapılır. Anahtarlar sabit kalır, değerler ise seçilen dile göre değişir. Bu sayede, sistemdeki her metin kolayca yönetilebilir ve çevrilebilir.

BeviS ile Metin2 Geliştirme Deneyimi

BeviS, Metin2 özel sunucu geliştirme sürecinde büyük bir kolaylık sunar. Özellikle PvP sistemleri üzerine çalışan geliştiriciler için, farklı ülkelerden gelen oyuncuların kafasının karışmaması açısından çok faydalıdır. Ayrıca, core seviyesinde yapılan değişikliklerle, game ve auth sunucularında da dil desteği sağlanabilir.

Sonuç

BeviS, Metin2 özel sunucularında çoklu dil desteği sunmanın en etkili ve profesyonel yollarından biridir. Hem geliştiriciler hem de oyuncular için kullanıcı dostu bir yapı sunar. Metin2 Lobby olarak, bu tür gelişmiş sistemlerin geliştirilmesine ve paylaşılmasına destek vermeye devam ediyoruz.


How to Implement Multi-Language Support with BeviS on Metin2 Servers?

To enhance the user experience on Metin2 private servers, various advanced systems are integrated. One of these is the multi-language system called BeviS. This system allows players from different countries to view menus, messages, and interface elements in their own languages. This increases user satisfaction and helps your server reach a wider audience.

What is BeviS?

BeviS is a C++ based multi-language support system designed for Metin2 private server developers. Working both on client-side and server-side, this system dynamically serves content based on the player's selected language. Thanks to its modular structure, BeviS can be easily integrated and customized.

Why Should You Use BeviS?

1. Extensive Language Support: BeviS supports multiple languages simultaneously. You can easily integrate Turkish, English, German, and more.
2. User-Friendly Interface: Players can switch their language preferences easily, and changes are applied instantly.
3. Developer-Friendly Code Structure: Based on C++, it works compatibly with Martysama and other popular systems.
4. Does Not Impact Server Performance: The system has an optimized structure and causes minimal performance loss on the server.

Installation and Configuration of BeviS

To install the BeviS system, you first need to make changes to the Metin2 client src and game server src. Having C++ knowledge is important for this process. BeviS typically operates through 'locale' files, where texts for each language are defined.

For instance, texts found in system.py or uiscript files are automatically replaced according to the selected language by BeviS. Additionally, since the system operates based on the py root directory structure, correct file paths must be set up.

Managing Language Files

Separate JSON or XML files can be created for each language. For example: lang_tr.json, lang_en.json. Key-value mappings are made in these files. Keys remain constant while values change depending on the selected language. This way, every text in the system can be easily managed and translated.

Development Experience with BeviS in Metin2

BeviS offers significant convenience during the Metin2 private server development process. Especially for developers working on PvP systems, it is highly beneficial in preventing confusion among players from different countries. Moreover, with modifications at the core level, language support can also be provided on game and auth servers.

Conclusion

BeviS is one of the most effective and professional ways to provide multi-language support on Metin2 private servers. It offers a user-friendly structure for both developers and players. At Metin2 Lobby, we continue to support the development and sharing of such advanced systems.
 

Şuan Bu Konuyu Görüntüleyen Kullanıcılar (Toplam : 0, Üye : 0, Misafir : 0)

Benzer konular

Geri
Üst Alt