add localization code to repo