- Please edit your (original) post and use the CODE
button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor -
toLowerCase(),-1!=="ru,en,zh,es,pt,ja,de,tr"
I know little about javascript, but the widget doesn't seem like it supports Arabic. - Your code appears to be identical to what you get from
Economic calendar widget Except you use mode=1 not 2
hi ... i tried all ways to show arabic economic caleder >>> but it failed . however preview works well and show arabic ?
Set
Make sure you add this in the head section
<Meta charset="utf-8">
And add this attribute to HTML
<HTML lang="at">
Hope this will solve it
Hi dear , this is the code i get from mql5 >>>
<script type="text/javascript" src="https://c.mql5.com/js/widgets/calendar/widget.js?6"></script>
<div id="economicCalendarWidget"></div>
<script type="text/javascript">
new economicCalendar({ width: "100%", height: "100%", mode: 2, lang: "ar" });
</script>
could u please add the html you mean to get it in arabic ? thanks alot
Economic calendar widget
- www.mql5.com
Set (customize) and place the economic calendar widget on your website with automatic updates in real time.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i copy html code to add economic calender in Arabic to my website ...but however i chose arabic as a language ..it displayed in english ?
can you help me
<script type="text/javascript" src="https://c.mql5.com/js/widgets/calendar/widget.js?6"></script>
<div id="economicCalendarWidget"></div>
<script type="text/javascript">
new economicCalendar({ width: "800", height: "600", mode: 1, lang: "ar", dateformat: "MDY" });
</script>
new economicCalendar({ width: "800", height: "600", mode: 1, lang: "ar", dateformat: "MDY" });