Provides configuration data location for given langcode and name.
string $langcode: The language code.
string|NULL $name: Name of the original configuration. Set to NULL to get the name prefix for all $langcode overrides.
string
public static function localeConfigName($langcode, $name = NULL) {
return rtrim('locale.config.' . $langcode . '.' . $name, '.');
}