Skip to content

I18n Initializing

Marcin Grzywacz edited this page Aug 16, 2022 · 1 revision

I18n - Initializing

If you're using recommended method to use scanner then you don't really have anything to worry about
Well if you dont you have to use manually function I18n.init(yourPluginInstance) best to use it before adding any methods or scanners

Setting default localization

Do you want to for your players to use default simple just use function for it I18n.setLocale(yourPluginInstance, locale) // Example locale = 'en'

Clone this wiki locally