set_source_locale


Description:

[ Version ( since = "0.14.6" ) ]
public void set_source_locale (string? locale)

Set the locale of the source strings for this component.

In gettext, this is referred to as the `C` locale. It’s almost always `en_US`, but for some components it may not be.

Parameters:

this

a Translation instance.

locale

The POSIX locale that the source strings are in, or null if unknown or default.