Archisteamfarm: ASF detecting wrong OS language in InitGlobalConfigAndLanguage()

Created on 3 Nov 2017  路  2Comments  路  Source: JustArchiNET/ArchiSteamFarm

Bug

Description

This is a minor bug. I launched ASF V3.0.4.3 on Windows and I saw this message:

2017-11-03 13:02:14|dotnet-5068|INFO|ASF|InitGlobalConfigAndLanguage() ASF will attempt to use your preferred pt-BR culture, but translation in that language was completed only in 99,4%. Perhaps you could help us improve ASF translation for your language?

However, the only thing in pt-BR in my OS is one of my keyboard layouts. The language of the OS itself is en-US, that's why ASF actually display all logging messages in English.

untitled

Expected behavior

That message shouldn't be shown.

Actual behavior

I get a message about my OS language, which is incorrect.

Steps to reproduce

Maybe add a secondary keyboard layout and simply open ASF to get that message?

Full log.txt recorded during reproducing the problem

2017-11-03 13:02:13|dotnet-5068|INFO|ASF|InitASF() ASF V3.0.4.3 (c7fd49e7-f9eb-4481-a096-9a9208d346be)
2017-11-03 13:02:14|dotnet-5068|INFO|ASF|InitGlobalConfigAndLanguage() ASF will attempt to use your preferred pt-BR culture, but translation in that language was completed only in 99,4%. Perhaps you could help us improve ASF translation for your language?
2017-11-03 13:02:14|dotnet-5068|INFO|ASF|Start() Starting IPC server on http://127.0.0.1:1242/...
2017-11-03 13:02:14|dotnet-5068|INFO|ASF|Start() IPC server ready!
2017-11-03 13:02:15|dotnet-5068|INFO|bot1|Start() Starting...
2017-11-03 13:02:15|dotnet-5068|INFO|bot1|Connect() Connecting...

Global ASF.json config

{
  "AutoRestart": false,
  "AutoUpdates": false,
  "BackgroundGCPeriod": 0,
  "Blacklist": [],
  "ConnectionTimeout": 60,
  "CurrentCulture": null,
  "Debug": false,
  "FarmingDelay": 15,
  "GiftsLimiterDelay": 1,
  "Headless": false,
  "IdleFarmingPeriod": 8,
  "InventoryLimiterDelay": 3,
  "IPCHost": "127.0.0.1",
  "IPCPort": 1242,
  "LoginLimiterDelay": 10,
  "MaxFarmingTime": 5,
  "MaxTradeHoldDuration": 15,
  "OptimizationMode": 0,
  "Statistics": false,
  "SteamOwnerID": <hidden>,
  "SteamProtocols": 4,
  "UpdateChannel": 0
}
Enhancement Low priority Not a bug Wishlist

All 2 comments

Good catch, thanks, you can check if latest AppVeyor build addresses this properly.

Working as expected now, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

guihkx picture guihkx  路  3Comments

zypA13510 picture zypA13510  路  3Comments

Sirogabober picture Sirogabober  路  4Comments

JustArchi picture JustArchi  路  4Comments

Revadike picture Revadike  路  3Comments