Fixed bug that dynamically added paths are not changed on locale change