Craft 2 categories locale issue I have a craft2 site running quite happily with 8 languages.

I noticed recently that a dropdown selection of category entries is not working when the locale is changed to chinese (locale = 'zh').

So the list of countries to search on does not  render fully - only some countries are shown.

Here is the real world example
https://seafarerhelp.org/en/seafarers-directory
https://seafarerhelp.org/zh/seafarers-directory

check out the search country dropdown. It is using this template code:

{% set countries = craft.categories({
    group: 'locations',
    limit: null,
    level: 1,
    order:['title asc']
   })
%}


In english we get the full list.
In Chinese (select the locale) we get only a handful.

Other countries seem fine. I am stumped. Have looked for oddities in structure but can find none. Ironically this area of the site is not translated but this doesn't present any problem with other locales/languages
This ended up being because not all categories were properly resaved after a new locale was added. Resaving the categories solved it.