Everything works fine, just add a part of "python" client, so that users change language with a button, i was lazy to do it.
- The system saves one language per account.
- It's capable of translating quest, client, etc.
- The system takes the language from the client's mylang.cfg file and save on DB of this account in the client.
The guide simply focuses on looking for DEFINE:
ENABLE_MULTILANGUAGE
So you can see how I placed it.
Metin2 Lobby'de Çoklu Dil Sistemi (Multi Language System)
Metin2 özel sunucularında kullanıcı deneyimini artırmak ve global kitlelere hitap edebilmek için çoklu dil desteği büyük önem taşır. Bu yazıda, Metin2 özel sunucu geliştirme sürecinde Multi Language System olarak adlandırılan çoklu dil sistemini nasıl entegre edeceğinizi ve bu sistemin C++, Python, uiscript, py root, pack, db, game ve auth gibi bileşenlerle nasıl çalıştığını ele alacağız.
Çoklu Dil Sistemi Nedir?
Metin2 özel sunucularında çoklu dil sistemi, oyuncuların tercih ettikleri dile göre arayüzdeki metinlerin değişmesini sağlar. Bu sistem sayesinde hem Türkçe hem İngilizce hem de diğer dillere destek veren bir Metin2 sunucusu oluşturulabilir. Sistem genellikle client tarafında uiscript dosyaları üzerinden çalışır ve py root içindeki Python dosyalarıyla entegre olur.
Uygulama Katmanları
Client tarafında dil ayarları genellikle bir konfigürasyon dosyasında tutulur. Bu dosya, pack yapısıyla korunabilir. uiscript ile yazılmış arayüz dosyalarında, metinler doğrudan sabit yazılmak yerine, dil dosyalarından alınır. Örneğin 'locale_inc.h' dosyasında tanımlanan anahtarlar üzerinden metinler çağrılır.
Python ve Py Root Entegrasyonu
Py root içinde yer alan Python scriptleri, istemciye gönderilen metinlerin doğru dile göre gönderilmesini sağlar. Bu işlem sırasında Python GUI sistemleri de kullanılabilir. Özellikle kullanıcı arayüzüne dinamik olarak metin aktarımı yaparken Python scriptleri devreye girer. Bu scriptler, dil dosyalarından gelen verileri doğru şekilde işler ve sunucu tarafından istemciye aktarır.
Game ve Auth Sunucuları ile Entegrasyon
Oyun ve auth sunucuları arasında da dil bilgisi paylaşımı yapılabilir. Özellikle hesap aktivasyon mesajları, hata bildirimleri gibi metinlerin oyuncunun tercih ettiği dile göre gelmesi çok önemlidir. Bu durum, C++ tabanlı server src üzerinde uygun yapılandırmalarla sağlanabilir. DB (veritabanı) üzerinde de kullanıcıların tercih ettiği dil bilgisi saklanabilir. Böylece her kullanıcıya kendi dilinde özel mesajlar gösterilebilir.
Paketleme ve Dağıtım
Sunucuya entegre edilen çoklu dil sistemi, doğru bir şekilde pack dosyaları halinde paketlenmelidir. Bu sayede sunucu güncellemelerinde eksiksiz bir şekilde aktarılabilir. Martysama veya benzeri araçlar yardımıyla uiscript ve py root dosyalarının derlenmesi sağlanmalıdır. Ayrıca, dil dosyalarının güvenliği için şifreleme yöntemleri de kullanılabilir.
Özet
Multi Language System, Metin2 özel sunucularında kullanıcı dostu bir deneyim yaratmak için kritik öneme sahiptir. C++, Python, uiscript, py root, pack, db, game, auth gibi bileşenlerle uyumlu çalışarak global bir kullanıcı kitlesine ulaşmanızı sağlar. Bu sistemi doğru şekilde uygulamak, hem teknik hem de pazarlama açısından büyük avantajlar sağlar.
Multi Language System on Metin2 Lobby
In order to enhance the user experience in Metin2 private servers and reach global audiences, multi-language support is of great importance. In this article, we will discuss how to integrate the Multi Language System into your Metin2 private server development process and how this system works with components such as C++, Python, uiscript, py root, pack, db, game, and auth.
What is the Multi Language System?
The multi language system in Metin2 private servers allows interface texts to change according to the player's chosen language. This system enables the creation of a Metin2 server that supports both Turkish and English, as well as other languages. The system usually operates through uiscript files on the client side and integrates with Python files located inside py root.
Application Layers
Language settings on the client side are generally stored in a configuration file. This file can be protected using the pack structure. Instead of directly hardcoding texts into the UI files written in uiscript, they are fetched from language files. For instance, texts are called via keys defined in the 'locale_inc.h' file.
Python and Py Root Integration
Python scripts within py root ensure that the texts sent to the client are displayed in the correct language. During this process, Python GUI systems may also be used. Particularly when dynamically transferring text to the user interface, Python scripts come into play. These scripts process the data received from language files correctly and send them from the server to the client.
Integration with Game and Auth Servers
Language information can also be shared between the game and auth servers. It is especially important for messages like account activation notifications or error reports to appear in the player's preferred language. This can be achieved by proper configurations on the C++ based server src. The user's selected language can also be stored in the DB (database), allowing personalized messages in the user's native language to be shown.
Packaging and Distribution
The multi-language system integrated into the server must be properly packaged into pack files. This ensures seamless transfer during server updates. Tools like Martysama should be used to compile uiscript and py root files. Additionally, encryption methods can be applied to secure language files.
Summary
Multi Language System is critical for creating a user-friendly experience in Metin2 private servers. Working seamlessly with components such as C++, Python, uiscript, py root, pack, db, game, and auth, it helps you reach a global audience. Properly implementing this system provides significant advantages both technically and marketing-wise.
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
- The system saves one language per account.
- It's capable of translating quest, client, etc.
- The system takes the language from the client's mylang.cfg file and save on DB of this account in the client.
The guide simply focuses on looking for DEFINE:
ENABLE_MULTILANGUAGE
So you can see how I placed it.
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Metin2 Lobby'de Çoklu Dil Sistemi (Multi Language System)
Metin2 özel sunucularında kullanıcı deneyimini artırmak ve global kitlelere hitap edebilmek için çoklu dil desteği büyük önem taşır. Bu yazıda, Metin2 özel sunucu geliştirme sürecinde Multi Language System olarak adlandırılan çoklu dil sistemini nasıl entegre edeceğinizi ve bu sistemin C++, Python, uiscript, py root, pack, db, game ve auth gibi bileşenlerle nasıl çalıştığını ele alacağız.
Çoklu Dil Sistemi Nedir?
Metin2 özel sunucularında çoklu dil sistemi, oyuncuların tercih ettikleri dile göre arayüzdeki metinlerin değişmesini sağlar. Bu sistem sayesinde hem Türkçe hem İngilizce hem de diğer dillere destek veren bir Metin2 sunucusu oluşturulabilir. Sistem genellikle client tarafında uiscript dosyaları üzerinden çalışır ve py root içindeki Python dosyalarıyla entegre olur.
Uygulama Katmanları
Client tarafında dil ayarları genellikle bir konfigürasyon dosyasında tutulur. Bu dosya, pack yapısıyla korunabilir. uiscript ile yazılmış arayüz dosyalarında, metinler doğrudan sabit yazılmak yerine, dil dosyalarından alınır. Örneğin 'locale_inc.h' dosyasında tanımlanan anahtarlar üzerinden metinler çağrılır.
Python ve Py Root Entegrasyonu
Py root içinde yer alan Python scriptleri, istemciye gönderilen metinlerin doğru dile göre gönderilmesini sağlar. Bu işlem sırasında Python GUI sistemleri de kullanılabilir. Özellikle kullanıcı arayüzüne dinamik olarak metin aktarımı yaparken Python scriptleri devreye girer. Bu scriptler, dil dosyalarından gelen verileri doğru şekilde işler ve sunucu tarafından istemciye aktarır.
Game ve Auth Sunucuları ile Entegrasyon
Oyun ve auth sunucuları arasında da dil bilgisi paylaşımı yapılabilir. Özellikle hesap aktivasyon mesajları, hata bildirimleri gibi metinlerin oyuncunun tercih ettiği dile göre gelmesi çok önemlidir. Bu durum, C++ tabanlı server src üzerinde uygun yapılandırmalarla sağlanabilir. DB (veritabanı) üzerinde de kullanıcıların tercih ettiği dil bilgisi saklanabilir. Böylece her kullanıcıya kendi dilinde özel mesajlar gösterilebilir.
Paketleme ve Dağıtım
Sunucuya entegre edilen çoklu dil sistemi, doğru bir şekilde pack dosyaları halinde paketlenmelidir. Bu sayede sunucu güncellemelerinde eksiksiz bir şekilde aktarılabilir. Martysama veya benzeri araçlar yardımıyla uiscript ve py root dosyalarının derlenmesi sağlanmalıdır. Ayrıca, dil dosyalarının güvenliği için şifreleme yöntemleri de kullanılabilir.
Özet
Multi Language System, Metin2 özel sunucularında kullanıcı dostu bir deneyim yaratmak için kritik öneme sahiptir. C++, Python, uiscript, py root, pack, db, game, auth gibi bileşenlerle uyumlu çalışarak global bir kullanıcı kitlesine ulaşmanızı sağlar. Bu sistemi doğru şekilde uygulamak, hem teknik hem de pazarlama açısından büyük avantajlar sağlar.
Multi Language System on Metin2 Lobby
In order to enhance the user experience in Metin2 private servers and reach global audiences, multi-language support is of great importance. In this article, we will discuss how to integrate the Multi Language System into your Metin2 private server development process and how this system works with components such as C++, Python, uiscript, py root, pack, db, game, and auth.
What is the Multi Language System?
The multi language system in Metin2 private servers allows interface texts to change according to the player's chosen language. This system enables the creation of a Metin2 server that supports both Turkish and English, as well as other languages. The system usually operates through uiscript files on the client side and integrates with Python files located inside py root.
Application Layers
Language settings on the client side are generally stored in a configuration file. This file can be protected using the pack structure. Instead of directly hardcoding texts into the UI files written in uiscript, they are fetched from language files. For instance, texts are called via keys defined in the 'locale_inc.h' file.
Python and Py Root Integration
Python scripts within py root ensure that the texts sent to the client are displayed in the correct language. During this process, Python GUI systems may also be used. Particularly when dynamically transferring text to the user interface, Python scripts come into play. These scripts process the data received from language files correctly and send them from the server to the client.
Integration with Game and Auth Servers
Language information can also be shared between the game and auth servers. It is especially important for messages like account activation notifications or error reports to appear in the player's preferred language. This can be achieved by proper configurations on the C++ based server src. The user's selected language can also be stored in the DB (database), allowing personalized messages in the user's native language to be shown.
Packaging and Distribution
The multi-language system integrated into the server must be properly packaged into pack files. This ensures seamless transfer during server updates. Tools like Martysama should be used to compile uiscript and py root files. Additionally, encryption methods can be applied to secure language files.
Summary
Multi Language System is critical for creating a user-friendly experience in Metin2 private servers. Working seamlessly with components such as C++, Python, uiscript, py root, pack, db, game, and auth, it helps you reach a global audience. Properly implementing this system provides significant advantages both technically and marketing-wise.
