I am researching the localization options when it comes to languages that support articles like French, Spanish, German, Greek and so on. In those languages, you must perform noun declining in order for the constructed phrase to make sense: For example while in English we can just say "Use pen on paper" (maybe even "Use the pen on the paper") for:
There are several things to note here: For example genders are not consistent from one language to another, or in some languages (like Greek) the "on" word equivalent gets merged with the article ("στο") of the item.
As far as I can understand there's no support for such smart formatting when it comes to Adventure Creator even if I choose to use the Unity Localization package as the GetHotspotPrefixLabel(...) method will not perform any string formatting when it comes to 'smart strings'.
Is my assumption correct or is there a way to make the 'Use syntax' aware of those localization "quirks"?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
A custom script is necessary to handle the formatting based on language-specific conditions, but it's possible to override the default "Hotspot label" when e.g. a Hotspot is hovered-over while an Inventory item is selected: