Hi Chris,
I have a commissioned project which includes Arabic translations, so far we have managed to fix and display all the Arabic translations in the right way, but there is one that I cannot fix as I don't know where to look at so maybe you can give me a hand here.
The issue is related to dragging items on hotspots, the composed strings are located on RuntimeInventory.cs like these lines of code:
return (prefix1 + " " + itemName + " ");
return (itemName + " " + prefix2 + " ");
return (prefix1 + " " + itemName + " " + prefix2 + " ");
So what I do is reversing the order to make it look right in Arab:
if (languageNumber == 1) //Which is Arabic in my game then
return (" " + prefix2);
return (" " + itemName + " " + prefix1);
return (" " + prefix2 + " " + itemName);
return (" " + prefix2 + " " + itemName + " " + prefix1);
etc...
But I cannot find where you compose the string like "Use Glass On Pedestal", which I guess it should be something like (prefix1 + " " + itemName + " " + prefix2 + " " + hotspot.name)
Can you help me here?
Thank you very much for your time and effort, keep the good work.
Comments
This function firsts generates the "use X on " prefix, followed by the name of the Hotspot itself (according to the current language). Putting the Hotspot name first should be a case of simply swapping the operations around.
As a non-Arabic speaker, it's difficult to know exactly where such changes are necessary - if you can share your insight as you go here, I may be able to add them officially in future.