Foswiki General Assembly will be held on 12th December 2019, 1200 UTC on Freenode IRC channel #foswiki-association. See AgendaTenthGeneralAssembly
You are here: Foswiki>Tasks Web>Item10755 (17 Dec 2011, GeorgeClark)Edit Attach

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
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
I've got my 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


ItemTemplate edit

Summary heading on the template login screen appears not to be localised
ReportedBy SvenDowideit
Codebase 1.1.4 RC1, 1.1.4 beta1, 1.1.3, trunk
SVN Range
AppliesTo Engine
Component I18N
Priority Normal
CurrentState Closed
Checkins distro:02a3dc29138f distro:1416591ba1f3 distro:34ff66b0d115 distro:b2becba87e60 distro:397e0c821205
TargetRelease patch
ReleasedIn 1.1.4
Topic attachments
I Attachment Action Size Date Who Comment
einloggen.pngpng einloggen.png manage 37 K 29 Oct 2011 - 23:35 ArthurClemens Logon screen in German
Topic revision: r9 - 17 Dec 2011, GeorgeClark - This page was cached on 04 Dec 2019 - 17:26.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy