How to translate the {{country}} tempelate?

Both the top and the side bar.

https://wiki.openstreetmap.org/wiki/Template:Country/doc

Translations are stored in https://wiki.openstreetmap.org/wiki/Template:CountryLang and https://wiki.openstreetmap.org/wiki/Template:Place.