how can translate birth date
Question
Application Type
Reactive

how can translate birth date from english to arabic


The yellow part I need to translate it when I select something other than Arabic

Solution

Hello Andrew 

As discussed in the Messages here is the updated OML with the Date Conversion to the Arabic Numbers. 

This OML converted the Input Date in Arabic Numbers 

Here is Demo: https://personal-9qwkrkgl.outsystemscloud.com/ForumHelp/Home?_ts=637570462382794830


I have added one more Service Action with the Extension to Convert into Arabic.  

ForumHelpA.oml

Solution

Please find the OML attached. It has some other data too but you can focus on -

1. Home Screen in Interface Tab

2. Hijri Date Extension in Logic Tab

ForumHelp.oml

Dear Andrew 

I see you have translated the other items and seems looking to convert English Date in Hijri Date!

Please look into the component may help you: https://www.outsystems.com/forge/component-overview/5507/hijri-date


Also, a small discussion over it: https://www.outsystems.com/forums/discussion/43897/how-to-get-hijri-date-in-outsystems-mobile-application/ 


I hope it will helps you. 

i need translate date using  Multilingual 

for example 

if date = 19-5-2021

i need translate it =   (Arabic  number)

how can i do it 

Have you tried the Forge Component I have shared with you? You might get one logic inside this that will take date as input and share Hijri date with you. 

yes i tried the forge component 

if any oml pleas  upload it 

Ahh, the component will not work if you use it directly in your application. As the component is in Traditional and your application is in Reactive. We will need to get the approach from it.

But if it's possible, @andrew mahfouz can copy and paste or migrate the logic from traditional to reactive, right? @Manish Gupta 

Yes, @Marcio Carvalho 

Even in this Plugin I don't need to do that as I was the Extension only :)

@andrew mahfouz Please find the working demo here: https://personal-9qwkrkgl.outsystemscloud.com/ForumHelp/Home?_ts=637570355698476909


Select Date, Click on Convert  and it will show the Hijri Date to you. 


Later on you have related the MM with the name like Shawwal, Ramadan, ETC with the Switch Case  


Please let me know if it is fine. I will share the OML with you

Its working fine for me. 


Can you please try again?

Solution

Please find the OML attached. It has some other data too but you can focus on -

1. Home Screen in Interface Tab

2. Hijri Date Extension in Logic Tab

ForumHelp.oml

Dear Andrew 

Does it worked for you? Please feel free to ask me in case you face any challenges to implement the shared OML. 

Solution

Hello Andrew 

As discussed in the Messages here is the updated OML with the Date Conversion to the Arabic Numbers. 

This OML converted the Input Date in Arabic Numbers 

Here is Demo: https://personal-9qwkrkgl.outsystemscloud.com/ForumHelp/Home?_ts=637570462382794830


I have added one more Service Action with the Extension to Convert into Arabic.  

ForumHelpA.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.