Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
I'm wondering if anyone knows how extra language files are used for custom maps in dev mode.
I created a map with a terminal in it, I made a file called english.lang and tried putting it in ...\SOMA\mods\my_mod\config\lang_main. The file looks like this:
When I load the map from the mod launcher and use the terminal my text will show up but not the "default" text like From, Subject, Date, Inbox, Drafts, or Sent. Picture.
When I load from the SomaDev.bat and use the terminal I get the default text, but not my own. Picture.
I noticed in Dev mode it tells me it can't find the language file category "Emails". I also found the UrbanGUI category in the main english.lang, copying that over fixed the first issue. I guess what I need help with is getting dev mode to load up or recognize my own english.lang from the mods directory. Any ideas?