Get configuration name for this language.
It will be the same name with a prefix depending on language code: locale.config.LANGCODE.NAME
string $name: The name of the config object.
\Drupal\Core\Language\Language $language: The language object.
string The localized config name.
public function getLocaleConfigName($name, Language $language) {
return 'locale.config.' . $language->langcode . '.' . $name;
}