Item10755: heading on the template login screen appears not to be localised
Priority: Normal
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Engine
Component: I18N
Branches:
I've got my trunk.foswiki.org set to german, and while most of the login screen is in german, the big green heading is not
Log on with your username and password
..
and the 'help'
=This is your name written as
WikiWord, for example:
JohnSmith.
Register if you do not have an account yet.=
--
SvenDowideit - 17 May 2011
These seem to be fixed.
grep Log\ on\ with\ your *
login.tmpl:%TMPL:DEF{"title"}%<h2>%MAKETEXT{"Log on with your username and password"}%</h2>%TMPL:END%
gac@cardinal: /var/www/foswiki/trunk/core/templates (release11)$ grep This\ is\ your\ name\ written *
login.tmpl:%TMPL:DEF{"authrealm"}%%MAKETEXT{"This is your name written as !WikiWord, for example: !JohnSmith. %BR% [[[_1]][Register]] if you do not have an account yet." args="%SYSTEMWEB%.UserRegistration"}%%TMPL:END%
gac@cardinal: /var/www/foswiki/trunk/core/templates (release11)$
These seem to date back to at least Oct. 2010.
--
GeorgeClark - 29 Oct 2011
Seems to be a bug in
MAKETEXT maybe? Indeed on trunk, the above strings are in english. I've checked the de.po file, and translations exist. Something strange is going on.
--
GeorgeClark - 29 Oct 2011
This is what I get:
The headline is translated, but not the help text. The login tmpl uses
MAKETEXT though and the string is in de.po.
It is quite a complex sentence:
This is your name written as !WikiWord, for example: !JohnSmith. %BR% [[[_1]][Register]] if you do not have an account yet.
Found it: it is the BR inside the
MAKETEXT that screws up.
--
ArthurClemens - 29 Oct 2011