Objective Grid: Changing the calendar months and days to a specific language

Article ID: 310
Last updated: 11 Jun, 2018
Article ID: 310
Last updated: 11 Jun, 2018
Revision: 3
Views: 1756
Posted: 12 Jan, 2001
by Meltreger B.
Updated: 11 Jun, 2018
by Meltreger B.

Problem


When using the calendar, how do I translate the months and days from English to a different language?


Cause



Action


Call:

_tsetlocale(LC_ALL, NULL);

in your InitInstance() method.

This should set the language to your OS language.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 310
Last updated: 11 Jun, 2018
Revision: 3
Views: 1756
Posted: 12 Jan, 2001 by Meltreger B.
Updated: 11 Jun, 2018 by Meltreger B.

Others in this category