microsoftconnect/intune-app-wrapping-tool-ios

RTL layout is not supported

almohammad opened this issue · 5 comments

Describe the bug:
After wrapping the IPA file which has Arabic default layout (Right to Left) .

To Reproduce
Steps to reproduce the behavior:

  1. Double Click on MIA.dmg
  2. Execute the command to wrapper the package
  3. The layout is correct (RTL) Before wrapping the ipa but after wrapping file and test it again on the mobile the layout back to LTR

Expected behavior:
A clear and concise description of what you expected to happen.

Smartphone (please complete the following information):

  • Device: [e.g. iPhoneX]
  • OS: [e.g. iOS14.4.1]

Intune app wrapping tool (please complete the following information):

  • What version of the wrapper are you using? Are you using the latest version? Yes
  • What platform is your app based in (Java, Xamarin based, Cordova, etc)? Swift
  • For pre-wrapping errors, does the app build without being wrapped? Yes working fine before wrraped
  • For post-wrapping errors, does the app launch without being wrapped? Yes
  • Who is the customer? Prime Minister's Office
  • Do you see a trend with it only being reproduced on a specific device? Yes

Hi @almohammad, are you able to share screenshots of the UI before and after wrapping?

Injaz App

Thanks Kyl-Reis for your response , please find the attached screenshot taken from the setting of the app, kindly notice this setting is not existing when we install the IPA on the device before wrapping it so the setting back again to English after wrapping it .

How can change the default language from Intune MAM packager?

Thanks,

Hi @almohammad - I have 2 questions:

1.) Is testing of the wrapped and unwrapped app being performed on the same device? Or different devices?

2.) Does the unwrapped application support localizing to multiple languages? Or is only Arabic supported?

Thanks @almohammad. On iOS 13 and higher, the per-app "Preferred Language" setting will appear if the user has added multiple system languages in the iOS general system settings (General -> Language -> Preferred Language Order). The default value of the per-app setting will be the primary system language. Based on the screenshot you shared, it looks like the primary language on the device is English? If the primary language on the device is Arabic, this setting should default to Arabic. Also, if there is only one system language specified, this setting will not appear.

I'm not sure why the setting does not appear on the same device when the app is unwrapped if the app supports multiple languages. Does the app use custom in-app localization settings rather than built-in iOS localization via .strings files?

Note: Arabic is not currently a supported language of the Intune SDK, so any UI shown by the Intune SDK will not localize to Arabic, even if the primary system language is Arabic, but the app's UI should remain unchanged.