wtf? use lang.GetMessages() => Dict<str,str>
Languages are not updated when the plug-in is reload
Discussion in 'Rust Development' started by Sanlerus, Jun 15, 2017.
-
For just one message I'll use lang.GetMessage("key") to leave the workload outside of the script ( Script is always slower then the DLL. )
I meanly think that the current issue is that people don't know that they should reload the plugin before the language definitions are updated. (oxide.reload <plugin name>)
A full server reload isn't required.Last edited by a moderator: Dec 21, 2017 -
-
People enjoy understanding what you wrote. -
Just unload plugin before change lang file, and load after.
-
-
@Wulf there still a problem with lang api
Got the same problem for some of my plugin as well, if i want to get updated messages, i need to restart the server.
After an oxide update, it don't change anything, still bugged. -
Same problem