add cache directory param to rebildLocalisationCache