Hello to everyone!
What should we do to translate the messages of the plugin into different languages? Shortly, how is multi-language function added to the plugin? Could you give an example using the following simple plugin?
Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Sample Plugin"
#define VERSION "1.0"
#define AUTHOR "John Doe"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say", "sample")
register_clcmd("say_team", "sample")
}
public sample(id) {
client_print_color(id, id, "^4[INFO] ^3This is a sample text.")
}