[fix] language format changes only apply to local languages

This commit is contained in:
Al
2016-05-24 12:59:32 -04:00
parent 12f86875e2
commit 0dbfd79b72

View File

@@ -1107,7 +1107,7 @@ class AddressComponents(object):
self.drop_invalid_components(address_components)
if language_suffix:
if language_suffix and not non_local_language:
suffix_lang = language_suffix.lstrip(':')
language = self.language_code_replacements.get(suffix_lang, language)