Jump to content

Please help me with creating a language pack


Recommended Posts

I strarted to translate DST. I used the .po file found in the game files, but i simply can't do the modding part, when i want to enable it, the shows that it's a server mod. I've already tried to downlaod a mod from the workshop and simply swap the PO files, but as soon as I change anything in the mod files (example change the PO files), the mod ruins and I will have the problem that I mentioned at the beginning. 

So I have a PO file: hu_HU.po (and a hu_HU.mo)

A lua file: modinfo.lua

dont_starve_compatible = true
reign_of_giants_compatible = true
dst_compatible = true
all_clients_require_mod=false
client_only_mod=true

Another lua: modmain.lua

LoadPOFile("hu_HU.po", "hu")

I attache the mod in .zip format

Thank you for your help!

language pack.zip

Edited by Don Quijote
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...