Replace deprecated gettext l*gettext() functions

Proprietary

Replace deprecated gettext functions like lgettext() with their modern equivalents like gettext(). The l*gettext() functions were removed in Python 3.11.

org.openrewrite.python.migrate.ReplaceGettextDeprecations
mod run . --recipe=org.openrewrite.python.migrate.ReplaceGettextDeprecations

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change import
  2. Change import
  3. Change import
  4. Change import