I see now that you wrote _"This partial is written to be used on layouts/defaults/terms.html template" when you posted the code as well. I wrote mine to be a partial I can include on any page. I haven’t seen a tag cloud as a separate page before, but I guess that is a use case as well.
Thanks for the info about the multi-language problem. My blog (which I’m build with Hugo) is English only, but as a non-native English speaker I certainly appreciate the effort to support that 