vladver
vladver

Reputation: 127

PiranhaCMS: manager language after publishing

My problem is the following. Locally, the Piranha manager's language is correct. But after the publication - english. What's wrong? Maybe it's nececcary to explicitly set the language of the manager? But how?

Upvotes: 2

Views: 186

Answers (1)

vladver
vladver

Reputation: 127

The question is closed. The solution was to explicitly specify the culture of the current thread.

CultureInfo.DefaultThreadCurrentCulture = cultureInfo;
CultureInfo.DefaultThreadCurrentUICulture = cultureInfo;

Upvotes: 2

Related Questions