Different language

Hello everyone

Could you tell me how to get month in a different language.
I use “Now.Tostring(“MMMM”)”. It shows ‘June’ in English, I need in Russian.
I guess, there is a package with it. Maybe you know where it is or should to do…

check this
https://www.uipath.com/activities-guide/google-text-translate

Regards,
Vikas

1 Like

Thank you!

Hello @chrestick

You can try this and let me know :slight_smile:

new DateTime(2017, 10, 1).ToString("MMMM", CultureInfo.CreateSpecificCulture("ru"))

Note - For short month name use “MMM”
// Try it with writeline - it will return string of that full monht name.

Output of above will be like this : Октябрь // October

For this you have to import namespace - System.Globalization

Regards…!!
Aksh

5 Likes

Hi, @aksh1yadav

It works!!! Wonderful!

Thanks!