To run the tests for a localization, use the following command:

go test k8s.io/website/content/<lang>/examples

where <lang> is the two character representation of a language. For example:

go test k8s.io/website/content/en/examples