Lorenzo0111's Plugins
Discord
Lorenzo0111's Plugins
Lorenzo0111's Plugins
  • Home
  • RocketJoin
    • Starting
    • Configure
    • Conditions
      • Permission
      • First Join
    • Join Commands
    • Bungeecord
  • RocketPlaceholders
    • Starting
    • Configure
      • Custom Conditions
        • JavaScript Condition
        • Money Condition
        • Item Condition
        • Permission Condition
        • Group Condition
      • Custom Permissions
    • MySQL
      • MySQL F.A.Q
    • API
    • Dev Builds
  • MultiLang
    • Starting
    • Configuration
    • Translating
    • Messages
    • Gui
    • RealTime
Powered by GitBook
On this page
  • How does it work?
  • Using the pattern
  • Not sure about something?

Was this helpful?

Edit on GitHub
Export as PDF
  1. MultiLang

Translating

Learn how to translate entities, inventories and plugin messages

PreviousConfigurationNextMessages

Last updated 3 years ago

Was this helpful?

Translating entities, inventories and plugin messages is very easy!

You have to and use a special pattern.

Remember to install or the translations won't work.

How does it work?

The plugin will handle all packets that the server sends to the client and it will translate them.

Using the pattern

Here is an example to make it easy.

If you want to translate a menu, maybe a you just have to set the menu title to <lang>yourIdentifier</lang>, remember to replace yourIdentifier with the identifier of your translation.

You can also use more than one translation, for example if you want to create a custom plugin message like you will have to set the plugin message to: <lang>gamemode</lang> {0} <lang>for</lang> {1}. This example has been made for essentials but you can adapt it for every plugin.

Not sure about something?

Click to join in our discord server, I'll help you!

create your translation
ProtocolLib
DeluxeMenu
this
here