Edgewall Software

Opened 8 years ago

Last modified 8 years ago

#12418 closed defect

trac-admin should respect LC_ALL environment variable — at Initial Version

Reported by: Jun Omae Owned by:
Priority: normal Milestone: 1.0.13
Component: i18n Version: 1.0.10
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

trac-admin command prints localized text by LANG environment.

$ LANG=fr_FR.UTF8 ~/venv/trac/1.0.10/bin/trac-admin help
trac-admin - La console d'administration de Trac 1.0.10

Utilisation : trac-admin </chemin/vers/env_du_projet> [commande [sous-command] [option ...]]

Le lancement de trac-admin sans commandes déclenche le mode interactif.

help     Show documentation
initenv  Create and initialize a new environment

However, it ignores when LC_ALL is used.

$ LC_ALL=fr_FR.UTF8 ~/venv/trac/1.0.10/bin/trac-admin help
trac-admin - The Trac Administration Console 1.0.10

Usage: trac-admin </path/to/projenv> [command [subcommand] [option ...]]

Invoking trac-admin without command starts interactive mode.

help     Show documentation
initenv  Create and initialize a new environment

It prints by LANG=de_DE.UTF8 even though LC_ALL=fr_FR.UTF8.

$ LC_ALL=fr_FR.UTF8 LANG=de_DE.UTF8 ~/venv/trac/1.0.10/bin/trac-admin help
trac-admin - Die Administrations-Konsole von Trac 1.0.10

Aufruf: trac-admin </pfad/zur/projektumgebung> [Kommando [Subkommando] [Option ...]]

Der Aufruf von trac-admin ohne Kommando startet den interaktiven Modus.

help     Show documentation
initenv  Create and initialize a new environment

Change History (0)

Note: See TracTickets for help on using tickets.