Get English names for Arabic Months
I'm trying to display Arabic Islamic Months in a list box but in English
So that Output Month in Arabic today is ربيع اول
which is in English is November
but what I want is Rabī al-Awwal
or just like Microsoft Rabi I like in this link
I have found this question which asks for nearly what i want but in objective-C
which I don't understand and can't use , what I need is code in VB.Net or C#
PS: nothing of these lines give me what I want
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("ar-SA")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("ar-EG")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("en-US")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("en-SA")))
Edit: The Output is
ربيع الأول
نوفمبر
November
November
c# .net vb.net localization
|
show 6 more comments
I'm trying to display Arabic Islamic Months in a list box but in English
So that Output Month in Arabic today is ربيع اول
which is in English is November
but what I want is Rabī al-Awwal
or just like Microsoft Rabi I like in this link
I have found this question which asks for nearly what i want but in objective-C
which I don't understand and can't use , what I need is code in VB.Net or C#
PS: nothing of these lines give me what I want
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("ar-SA")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("ar-EG")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("en-US")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("en-SA")))
Edit: The Output is
ربيع الأول
نوفمبر
November
November
c# .net vb.net localization
docs.microsoft.com/en-us/dotnet/standard/datetime/… may be of use - it discusses datetimes in different calendars (which I think is what you are talking about here).
– Chris
Nov 19 '18 at 1:11
I already saw this link , but it doesn't have any sample code for what I want , I already wrote sample code and its output that uses cultures but It didn't meet my needs, the only sample that meets my needs is the one I mentioned in my question stackoverflow.com/questions/13109905/…
– VB_LOVER
Nov 19 '18 at 8:46
If i understand you correctly, you are looking for something that provides romanization of Arab words (months). I can't really help you but try searching the web for libraries that do romanization of Arab (it could perhaps be difficult to find free libraries for such purposes, though...
– elgonzo
Nov 19 '18 at 16:40
If you can't find any library, you might perhaps want to write your own Arab -> Romanization converter. You could use the Arab character -> Romanization mapping information provided here: unicode.org/repos/cldr/trunk/common/transforms/Arabic-Latin.xml (however, i am not sure, if this transformation/mapping table exactly matches the Romanization variant you are after)
– elgonzo
Nov 19 '18 at 16:43
1
@Blackwood, you might be right. Perhaps OP should look into usingSystem.Globalization.HijriCalendar
orSystem.Globalization.UmAlQuraCalendar
...
– elgonzo
Nov 20 '18 at 14:12
|
show 6 more comments
I'm trying to display Arabic Islamic Months in a list box but in English
So that Output Month in Arabic today is ربيع اول
which is in English is November
but what I want is Rabī al-Awwal
or just like Microsoft Rabi I like in this link
I have found this question which asks for nearly what i want but in objective-C
which I don't understand and can't use , what I need is code in VB.Net or C#
PS: nothing of these lines give me what I want
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("ar-SA")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("ar-EG")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("en-US")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("en-SA")))
Edit: The Output is
ربيع الأول
نوفمبر
November
November
c# .net vb.net localization
I'm trying to display Arabic Islamic Months in a list box but in English
So that Output Month in Arabic today is ربيع اول
which is in English is November
but what I want is Rabī al-Awwal
or just like Microsoft Rabi I like in this link
I have found this question which asks for nearly what i want but in objective-C
which I don't understand and can't use , what I need is code in VB.Net or C#
PS: nothing of these lines give me what I want
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("ar-SA")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("ar-EG")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("en-US")))
Console.WriteLine(Now.Date.ToString("MMMM", New CultureInfo("en-SA")))
Edit: The Output is
ربيع الأول
نوفمبر
November
November
c# .net vb.net localization
c# .net vb.net localization
edited Nov 19 '18 at 16:31
VB_LOVER
asked Nov 18 '18 at 22:58
VB_LOVERVB_LOVER
13
13
docs.microsoft.com/en-us/dotnet/standard/datetime/… may be of use - it discusses datetimes in different calendars (which I think is what you are talking about here).
– Chris
Nov 19 '18 at 1:11
I already saw this link , but it doesn't have any sample code for what I want , I already wrote sample code and its output that uses cultures but It didn't meet my needs, the only sample that meets my needs is the one I mentioned in my question stackoverflow.com/questions/13109905/…
– VB_LOVER
Nov 19 '18 at 8:46
If i understand you correctly, you are looking for something that provides romanization of Arab words (months). I can't really help you but try searching the web for libraries that do romanization of Arab (it could perhaps be difficult to find free libraries for such purposes, though...
– elgonzo
Nov 19 '18 at 16:40
If you can't find any library, you might perhaps want to write your own Arab -> Romanization converter. You could use the Arab character -> Romanization mapping information provided here: unicode.org/repos/cldr/trunk/common/transforms/Arabic-Latin.xml (however, i am not sure, if this transformation/mapping table exactly matches the Romanization variant you are after)
– elgonzo
Nov 19 '18 at 16:43
1
@Blackwood, you might be right. Perhaps OP should look into usingSystem.Globalization.HijriCalendar
orSystem.Globalization.UmAlQuraCalendar
...
– elgonzo
Nov 20 '18 at 14:12
|
show 6 more comments
docs.microsoft.com/en-us/dotnet/standard/datetime/… may be of use - it discusses datetimes in different calendars (which I think is what you are talking about here).
– Chris
Nov 19 '18 at 1:11
I already saw this link , but it doesn't have any sample code for what I want , I already wrote sample code and its output that uses cultures but It didn't meet my needs, the only sample that meets my needs is the one I mentioned in my question stackoverflow.com/questions/13109905/…
– VB_LOVER
Nov 19 '18 at 8:46
If i understand you correctly, you are looking for something that provides romanization of Arab words (months). I can't really help you but try searching the web for libraries that do romanization of Arab (it could perhaps be difficult to find free libraries for such purposes, though...
– elgonzo
Nov 19 '18 at 16:40
If you can't find any library, you might perhaps want to write your own Arab -> Romanization converter. You could use the Arab character -> Romanization mapping information provided here: unicode.org/repos/cldr/trunk/common/transforms/Arabic-Latin.xml (however, i am not sure, if this transformation/mapping table exactly matches the Romanization variant you are after)
– elgonzo
Nov 19 '18 at 16:43
1
@Blackwood, you might be right. Perhaps OP should look into usingSystem.Globalization.HijriCalendar
orSystem.Globalization.UmAlQuraCalendar
...
– elgonzo
Nov 20 '18 at 14:12
docs.microsoft.com/en-us/dotnet/standard/datetime/… may be of use - it discusses datetimes in different calendars (which I think is what you are talking about here).
– Chris
Nov 19 '18 at 1:11
docs.microsoft.com/en-us/dotnet/standard/datetime/… may be of use - it discusses datetimes in different calendars (which I think is what you are talking about here).
– Chris
Nov 19 '18 at 1:11
I already saw this link , but it doesn't have any sample code for what I want , I already wrote sample code and its output that uses cultures but It didn't meet my needs, the only sample that meets my needs is the one I mentioned in my question stackoverflow.com/questions/13109905/…
– VB_LOVER
Nov 19 '18 at 8:46
I already saw this link , but it doesn't have any sample code for what I want , I already wrote sample code and its output that uses cultures but It didn't meet my needs, the only sample that meets my needs is the one I mentioned in my question stackoverflow.com/questions/13109905/…
– VB_LOVER
Nov 19 '18 at 8:46
If i understand you correctly, you are looking for something that provides romanization of Arab words (months). I can't really help you but try searching the web for libraries that do romanization of Arab (it could perhaps be difficult to find free libraries for such purposes, though...
– elgonzo
Nov 19 '18 at 16:40
If i understand you correctly, you are looking for something that provides romanization of Arab words (months). I can't really help you but try searching the web for libraries that do romanization of Arab (it could perhaps be difficult to find free libraries for such purposes, though...
– elgonzo
Nov 19 '18 at 16:40
If you can't find any library, you might perhaps want to write your own Arab -> Romanization converter. You could use the Arab character -> Romanization mapping information provided here: unicode.org/repos/cldr/trunk/common/transforms/Arabic-Latin.xml (however, i am not sure, if this transformation/mapping table exactly matches the Romanization variant you are after)
– elgonzo
Nov 19 '18 at 16:43
If you can't find any library, you might perhaps want to write your own Arab -> Romanization converter. You could use the Arab character -> Romanization mapping information provided here: unicode.org/repos/cldr/trunk/common/transforms/Arabic-Latin.xml (however, i am not sure, if this transformation/mapping table exactly matches the Romanization variant you are after)
– elgonzo
Nov 19 '18 at 16:43
1
1
@Blackwood, you might be right. Perhaps OP should look into using
System.Globalization.HijriCalendar
or System.Globalization.UmAlQuraCalendar
...– elgonzo
Nov 20 '18 at 14:12
@Blackwood, you might be right. Perhaps OP should look into using
System.Globalization.HijriCalendar
or System.Globalization.UmAlQuraCalendar
...– elgonzo
Nov 20 '18 at 14:12
|
show 6 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53366276%2fget-english-names-for-arabic-months%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53366276%2fget-english-names-for-arabic-months%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
docs.microsoft.com/en-us/dotnet/standard/datetime/… may be of use - it discusses datetimes in different calendars (which I think is what you are talking about here).
– Chris
Nov 19 '18 at 1:11
I already saw this link , but it doesn't have any sample code for what I want , I already wrote sample code and its output that uses cultures but It didn't meet my needs, the only sample that meets my needs is the one I mentioned in my question stackoverflow.com/questions/13109905/…
– VB_LOVER
Nov 19 '18 at 8:46
If i understand you correctly, you are looking for something that provides romanization of Arab words (months). I can't really help you but try searching the web for libraries that do romanization of Arab (it could perhaps be difficult to find free libraries for such purposes, though...
– elgonzo
Nov 19 '18 at 16:40
If you can't find any library, you might perhaps want to write your own Arab -> Romanization converter. You could use the Arab character -> Romanization mapping information provided here: unicode.org/repos/cldr/trunk/common/transforms/Arabic-Latin.xml (however, i am not sure, if this transformation/mapping table exactly matches the Romanization variant you are after)
– elgonzo
Nov 19 '18 at 16:43
1
@Blackwood, you might be right. Perhaps OP should look into using
System.Globalization.HijriCalendar
orSystem.Globalization.UmAlQuraCalendar
...– elgonzo
Nov 20 '18 at 14:12