In some language options that use an alternate script of that language, such as Malay with the Jawi script, the main script of that language may be used when translating narration strings to make them compatible with text-to-speech. In this case, the Latin script is used.
However, the following strings are also used by the visible tooltips displayed when navigating the trading menu using a keyboard:
narration.trade_offer.one_costnarration.trade_offer.out_of_stocknarration.trade_offer.two_costs
This can cause inconsistencies depending on which script is used for the translations:
If the Latin script is used, the visible tooltips will not be fully displayed in Jawi script, unlike the other visible texts in the UI.
If the Jawi script is used, the narrator will not be able to properly pronounce these strings.
Steps to reproduce the issue
Set up a villager that can perform trades.
Change the language option to Jawi Malay (located at the bottom of the language selection list).
Navigate the trading menu using a keyboard and move the keyboard focus to one of the trades.
Expected result
The strings used for narration and those used for the visible keyboard navigation tooltips should be separate. This would allow the tooltips to display their translations entirely in Jawi script while the narrator uses the Latin script translations.
Actual result
The same strings are used for both narration and the visible keyboard navigation tooltips. As a result, the visible tooltips are inconsistent with the rest of the UI because they display Latin script instead of Jawi script. This can be seen in the attached screenshot.
The script used for the narration strings translations might be changed to the Jawi script if the issue is not fixed before the release of version 26.4.
Possible solution
Introduce separate translation strings for the visible keyboard navigation tooltips instead of reusing the existing narration strings. This would allow each string to have its own translation, with the narration strings using the Latin script and the visible tooltips using the language's primary script (Jawi, in this case).
For example, separate counterparts could be introduced for the three strings listed above. This would preserve the existing narration functionality while allowing the visible tooltips to be translated independently.
This issue may also affect other languages that use different scripts specifically for narration strings, such as pre-reform Indonesian, pre-revolutionary Russian, and even upside-down English, although the extent of the impact may vary.
Thank you for helping us improve Minecraft! We saved your files: