• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

app.Language not reporting correctly

Community Expert ,
Apr 28, 2021 Apr 28, 2021

Copy link to clipboard

Copied

Now that I have installed FM-12.0.4.445 German successfulle I start my tests concerning localisation of my scipt.

But app.Language reports Constants.FV_LANG_BRITISH (0x02) although FM obviously is German: all menues and dialogues etc. are German.

My Windows is British, but the currently open FM is German. What is going on here?

 

TOPICS
Scripting

Views

94

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 28, 2021 Apr 28, 2021

Found teh culprit:

In  maker.ini there was the statement

[Frame]
Language=UKEnglish

After commenting this out app.Language reports value 3 (German)

Votes

Translate

Translate
Community Expert ,
Apr 28, 2021 Apr 28, 2021

Copy link to clipboard

Copied

LATEST

Found teh culprit:

In  maker.ini there was the statement

[Frame]
Language=UKEnglish

After commenting this out app.Language reports value 3 (German)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines