Page 1 of 1

Problems with client-side translation and unified_inventory

PostPosted: Sat Sep 28, 2019 14:34
by joe7575
I am completely confused:
How shall the node search function in unified_inventory work, if we have client-side translation and the player does not know the real node names?

Re: Problems with client-side translation and unified_invent

PostPosted: Sat Sep 28, 2019 21:21
by Linuxdirk
joe7575 wrote:How shall the node search function in unified_inventory work, if we have client-side translation and the player does not know the real node names?

It does not work.

https://github.com/minetest/minetest_game/issues/2367
https://github.com/minetest/minetest/issues/8398

Re: Problems with client-side translation and unified_invent

PostPosted: Sat Sep 28, 2019 22:36
by joe7575
Thanks Dirk, the client-side translation seems to me not yet thought to end...

Re: Problems with client-side translation and unified_invent

PostPosted: Sat Sep 28, 2019 23:11
by Linuxdirk
Yes, it is a very … uhm … “interesting” implementation having a lot of weird issues.

I guess having the search performed locally in the client instead of on the server could help because then the search would have access to the translated strings.