MiguelStevens
5 months ago
13
0
Nova

Nova Translating Strings in Custom Tool

Posted 5 months ago by MiguelStevens

I created a Tool in Nova, Now I would like to localise it so the strings I use in my Vue files can be multilanguage. Is this possible?

  • I see an en.json file in the resources/lang/vendor/nova folder, but I would like to add my own translations in my package..
  • Does loadTranslationsFrom in my Tool's ServiceProvider, also loads the .json files?

Please sign in or create an account to participate in this conversation.