Jump to content

How to detect the game language from Papyrus?


Guest

Recommended Posts

Posted

Hello,

 

does anybody knows how to understand, using Papyrus or the game settings accessible using SKSE what is the current language (English, French, German, etc.) that Skyrim is using?

 

 

Thank you for your help.

Posted

It was one of the first try. But for some reasons it was not working.

I will try again right now.

 

Thanks.


yes, it DOES NOT work:

 

[01/24/2016 - 11:52:10AM] ERROR: Game setting "sLanguage" does not exist

Posted

Yes, that works (using SKSE):

 

debug.trace("AND THE LANGUAGE IS: ------------------- " + Utility.GetINIString("sLanguage:General"))
 
 
Thanks. Appreciated.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...