Jump to content

Recommended Posts

Usually, If not have DLC. I need to edit  "language.lua" in  dont_starve\data\scripts\languages 

I modified this

 

 

--Here is where you can select a language file to override the default english strings

--The game currently only supports ASCII (sadly), so not all languages can be supported at this time.
 
require "translator"
 
--Uncomment this for french!
LanguageTranslator:LoadPOFile("scripts/languages/french.po", "fr")

 

 

 

But I have DLC now.

When I modified "language.lua" in  dont_starve\data\scripts\languages (see below)

 

 

--Here is where you can select a language file to override the default english strings

--The game currently only supports ASCII (sadly), so not all languages can be supported at this time.
 
require "translator"
 
--Uncomment this for french!
LanguageTranslator:LoadPOFile("scripts/languages/french.po", "fr")

 

 

And run execute game. Game use English. (Not french)
 
What is problem?
How to setup french font in DS RoG
 
P.S.   Sorry, if this topic is wrong category. Becuase I'm not sure 
P.S.2  Sorry my English. I hope to understand this topic
Edited by hackerdew

OK,

 

Now, there are still problems

In the file :  dont_starve\data\DLC0001\scripts\languages\language.lua
 

Have a content this (see below)
 

 

if APP_REGION == "SCEJ" then
  LanguageTranslator:LoadPOFile("scripts/languages/french.po", "fr")
end

When I modify
 

--if APP_REGION == "SCEJ" then
  LanguageTranslator:LoadPOFile("scripts/languages/french.po", "fr")
--end

The Game use French
I Think , may be App_REGION not equl SCEJ. So Program isn't load POFile

 

What is variable APP_REGION?
Where is Declaration variable ?

OK,

 

Now, there are still problems

In the file :  dont_starve\data\DLC0001\scripts\languages\language.lua

 

Have a content this (see below)

 

When I modify

 

The Game use French

I Think , may be App_REGION not equl SCEJ. So Program isn't load POFile

 

What is variable APP_REGION?

Where is Declaration variable ?

 

Yeah that var is set somewhere by the engine/installation, I did full file scan and didn't see it declared anywhere in lua either. It seems to be used just for japanese stuff, potentially just PS4 too? Cause the translator file and JapaneseOnPS4() function are the only places that thing is even used on.

 

Does killing that check do the trick for you? I mean, if you have to change that file anyways, might as well just kill those 2 lines too anyway...

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
×
  • Create New...