ARKitCoachingOverlay translation / localization

Hi,

is it possible to localize the text for the ARKitCoachingOverlay? https://miro.medium.com/v2/resize:fit:640/format:webp/1*FDzypCQtuU10Ky203NQr-A.png

I`m developing with Unity and use this sample script provided: https://github.com/Unity-Technologies/arfoundation-samples/blob/main/Assets/Scenes/ARKit/ARKitCoachingOverlay/ARKitCoachingOverlay.cs

So in the best case, you can describe how I can get translations working for German. Thanks

Answered by Prashants in 771867022

Hi, Hi, I now know that a translation is available. The language is set based on the iPhone's system language.

In my Unity app the user can set the language themselves. If a user changes the language in the app so that it is not the system language, I cannot change the text for the overlay. I don't think there is a solution other than creating my own overlay.

Hello,

You need to add a German localization for your app, see Adding support for languages and regions.

Once you add this localization, and change the device's language to German, you should see a German localized ARCoachingOverlayView :)

Accepted Answer

Hi, Hi, I now know that a translation is available. The language is set based on the iPhone's system language.

In my Unity app the user can set the language themselves. If a user changes the language in the app so that it is not the system language, I cannot change the text for the overlay. I don't think there is a solution other than creating my own overlay.

ARKitCoachingOverlay translation / localization
 
 
Q