Auto Research (fixed + re-published abandoned mod)


Automates research. Toggle GUI with Shift+T (customizable).

Utilities
19 days ago
0.18 - 2.0
21.7K

b The search bar works only in English

2 years ago

In the automatic research settings menu, the search bar searches for technology only by English names, despite the fact that the game interface language is selected differently

I ask you to fix this for a more comfortable game for those who use a non-English interface of the game

1 year, 10 months ago

This would be great yes! Very annoying to search in English only even though all the words you see are for example German.

1 year, 10 months ago

Dunno, how i would fix that ... Ich spiel auch nur auf englisch. :)

1 year, 10 months ago

See control.lua, lines 549 and following. Function updateSearchResult. There is already the code for localizedName search. It is just commented out because I guess in earlier Factorio versions it did not work.

1 year, 7 months ago

https://wiki.factorio.com/Tutorial:Localisation#Accessing_the_localised_result_in_code

Sounds like a pain in the ass to implement ... But you make it sound like you know there is some working solution out there ... Feel like linking me a mod where I could ... "borrow" said localisation resolution code?

Relevant meme: https://www.reddit.com/r/ProgrammerHumor/comments/sl3wyq/steal_what_is_stolen/

1 year, 7 months ago

I don't know much about it, but the first thing that comes to my mind is the Recipe Book mod. There is a search engine for items and it works in the current language of the game. When you turn on the map, you work with some kind of dictionary, perhaps this is the key

1 year, 7 months ago

I asked a friend of notnotmelon what he thinks about this situation (he is also the author of mods on Factorio) and he wrote this:

It is difficult to make localized search in factorio. Best option is to use mod FLIB https://mods.factorio.com/mod/flib
From there, its possible to have useful utilities such as DictLangRequest, DictTranslationRequest, and EventData.on_player_dictionaries_ready
https://media.discordapp.net/attachments/1005788485560578118/1095556054982598746/image.png?width=864&height=671

1 year, 7 months ago
(updated 1 year, 7 months ago)

TY! :)

Yeah, the wikipage on localization seems a little bit overcomplicated: you seem to need to do translations asynchronously...

Thats likely why Recipe Book maintains their own database of localized names

Ill take a look at flib. :)

edit: ok, fblib does exactly the same: asynchronously generate a dictionary for every connected player :/

New response