We use hook_translation_link_alter() to filter the languages shown in the language switcher. But, when viewing a node with country-specific translations, translation module acts after country_code to add back in languages we've deleted.
Probable solution: alter country_code module weight to be higher than translation's.
Comments
Comment #1
nedjoIt was i18n, not translation, that was the problem. Changed the weight to be higher than i18n's. Since there isn't yet a posted release I didn't write an update.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.