I have a string “Sunday”, i want to change this Polish(Poland) . How can i change. I try to use Iformateprovider
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have some
DateTimevaluedateTime, then you can useto produce the day-of-week name in the current culture, or
to produce it in another culture (here Danish (Denmark)).
If you want the “source” of these day names, use
To actually translate a string, do this:
This works even though the
FirstDayOfWeekis not the same in the two cultures (Polish has Monday as the first day).