diff --git a/git-flow b/git-flow index 3e49964..b34c31e 100755 --- a/git-flow +++ b/git-flow @@ -12,10 +12,14 @@ from lib.io import * REPOSITORY_TOKEN_PATH=".repository-token" +LOCALE = 'es_AR.UTF-8' def main(): - locale.setlocale(locale.LC_ALL, 'es_AR.UTF-8') + try: + locale.setlocale(locale.LC_ALL, LOCALE) + except locale.Error as e: + print_warning(f"No se pudo configurar el locale '{LOCALE}': {e}") args = sys.argv