Translator - MetaTrader 5 Library | Trading Script Download - MT4/MT5 Resources - MetaTrader 5 Resources

This class is designed for message localization in MQL5 programs. In short, everything output in the log with the help of the Print() function and the text messages displayed in Alert(), Comment(), MessageBox() can be done in multiple languages in one code.
As an illustrative example, the Sample.mq5 script and its two attached language files can be translated into Russian and Japanese. Result of the script working (first it is run in the chart, the parameters are translated into Russian, then into Japanese):

suggestion:
Attachment download
📎 translator.mqh (8.05 KB)
📎 languagesenum.mqh (1.33 KB)
📎 sample.mq5 (1.75 KB)
Source: MQL5 #1484
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •