[imp] How to edit language when using 'en'?
Jan Schneider
jan@horde.org
Tue, 20 Nov 2001 13:24:17 +0100
Zitat von Jan Schneider <jan@horde.org>:
> Zitat von Barry Flanagan <barryf-imp@digiserve.ie>:
>
> > On Tuesday 20 November 2001 11:06, you wrote:
> > > Zitat von Barry Flanagan <barryf-imp@digiserve.ie>:
> > > > I know this is bound to be a stupid question, but I can't see
> where
> > to
> > > > change
> > > > the words used in IMP when using the default English language -
> there
> > is
> > > > no
> > > > en.po file.
> > > >
> > > > Where do I edit if I want to change the wording of the english
> > language
> > > > used
> > > > in IMP?
> > >
> > > As English is the default language you have to edit the English
> > wording
> > > directly in the code.
> >
> >
> > So, if I wanted to change the "Username" in templates/login/login.inc,
> I
> >
> > would edit the line:
> >
> > <?= _("Username") ?> to be <?= _("Email Address") ?>
> >
> > ...I thought that the _("Username") was used as a key into the .po
> files
> > -
> > will this require changing all the other language files as well?
>
> Yes.
At least if you don't want this string to appear in English. If there is no
localized translation for such a gettext string, the original string is
used. This is why the ui has mixed languages in some tranlations.
Jan.
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::