.NET MAUI does not support Arabic language (RTL) on iOS devices
Description
.NET MAUI does not support Arabic language (RTL) on iOS devices ,
Images do not appear when the language is Arabic (RTL) when using ScrollView, Frame and border .
target framework .NET 7.0
Visual Studio for Mac 17.6.3(build 421)
Xcode (14.3.1)
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="TestRTL.MainPage">
<ScrollView FlowDirection="RightToLeft" Orientation="Horizontal">
<HorizontalStackLayout >
<Frame HorizontalOptions="Start" HeightRequest="100" WidthRequest="100" BackgroundColor="Transparent" Padding="0" HasShadow="False" >
<Image
Source="dotnet_bot.png"
SemanticProperties.Description="Cute dot net bot waving hi to you!"
HeightRequest="80"
WidthRequest="80"
HorizontalOptions="Start" />
</Frame>
<Frame HorizontalOptions="Start" HeightRequest="100" WidthRequest="100" BackgroundColor="Transparent" Padding="0" HasShadow="False" >
<Image
Source="dotnet_bot.png"
SemanticProperties.Description="Cute dot net bot waving hi to you!"
HeightRequest="80"
WidthRequest="80"
HorizontalOptions="Start" />
</Frame>
<Frame HorizontalOptions="Start" HeightRequest="100" WidthRequest="100" BackgroundColor="Transparent" Padding="0" HasShadow="False" >
<Image
Source="dotnet_bot.png"
SemanticProperties.Description="Cute dot net bot waving hi to you!"
HeightRequest="80"
WidthRequest="80"
HorizontalOptions="Start" />
</Frame>
<Frame HorizontalOptions="Start" HeightRequest="100" WidthRequest="100" BackgroundColor="Transparent" Padding="0" HasShadow="False" >
<Image
Source="dotnet_bot.png"
SemanticProperties.Description="Cute dot net bot waving hi to you!"
HeightRequest="80"
WidthRequest="80"
HorizontalOptions="Start" />
</Frame>
<Frame HorizontalOptions="Start" HeightRequest="100" WidthRequest="100" BackgroundColor="Transparent" Padding="0" HasShadow="False" >
<Image
Source="dotnet_bot.png"
SemanticProperties.Description="Cute dot net bot waving hi to you!"
HeightRequest="80"
WidthRequest="80"
HorizontalOptions="Start" />
</Frame>
</HorizontalStackLayout>
</ScrollView>
</ContentPage>
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
7.0.92
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No
Relevant log output
No response
Hi @WAEL20221. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Can you please turn your code sample into a full repro project? This will help us quickly debug the issue and make sure we have a shared codebase where we can both see the same issue within the same codebase. Copy and pasting code can lead to cases where it works for everyone else but not you, due to other changes you may have missed.
أهلاً@WAEL20221. لقد أضفنا التصنيف "s/needs-repro" إلى هذه المشكلة، مما يشير إلى أننا نحتاج إلى خطوات ونموذج للتعليمات البرمجية لإعادة إنتاج المشكلة قبل أن نتمكن من اتخاذ المزيد من الإجراءات. يرجى محاولة إنشاء نموذج بسيط للمشروع/الحل أو نماذج التعليمات البرمجية التي تعيد إنتاج المشكلة، ومن الأفضل أن تكون بمثابة مستودع GitHub يمكننا استنساخه. اطلع على مزيد من التفاصيل حول إنشاء النسخ هنا: https://github.com/dotnet/maui/blob/main/.github/repro.md
سيتم إغلاق هذه المشكلة تلقائيًا خلال 7 أيام إذا لم نتلق ردًا منك بحلول ذلك الوقت - فلا تتردد في إعادة فتحها إذا عدت إلى هذه المشكلة بعد ذلك الوقت.
This is the project https://github.com/WAEL20221/RTLiosArab
هل يمكنك تحويل نموذج التعليمات البرمجية الخاصة بك إلى مشروع النسخة الكاملة؟ برنامجنا هذا على تصحيح المشكلة بسرعة والتأكد من أن لدينا قاعدة تعليمات برمجية داخل شركة برمجية حيث يمكننا رؤية نفس المشكلة نفس قاعدة التعليمات البرمجية. يمكن أن تؤدي إلى نسخ التعليمات البرمجية ولصقها إلى الحالات حيث أنها تتواصل مع أي شخص آخر ولكن ليس أنت، وذلك بسبب التغييرات الأخرى التي ربما فاتتك.
This is the project https://github.com/WAEL20221/RTLiosArab
I'm not able to repro this on latest .NET 7 or .NET 8 Preview 7. @WAEL20221 would you please try .NET 8?
لا أستطيع إعادة إنشاء هذا على أحدث إصدار من .NET 7 أو .NET 8 Preview 7.@WAEL20221هل من الممكن أن تجرب .NET 8؟
The problem still exists in all versions of .NET MAUI
Hi @WAEL20221. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Verified this issue with Visual Studio 17.6.9 (build 415). Not repro on iOS platform with sample project. (.net7 &.net8)
https://github.com/WAEL20221/RTLiosArab
