TemplateData: HTML rendering of control keywords (empty, optional, ...) isn't translatable
Closed, ResolvedPublic

Description

Elements like "empty", "optional", "required" should be translatable. Ideally, parameter types should also be translatable, if only for display if it isn't possible to localize them in the JSON itself.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50436

bzimport added projects: TemplateData, I18n.Via ConduitNov 22 2014, 1:46 AM
bzimport set Reference to bz50370.
gpaumier created this task.Via LegacyJun 28 2013, 11:55 AM
eranroz added a comment.Via ConduitJun 29 2013, 6:22 PM

Mixing עברית + English or English + العربية is nightmare.

{

"description": "תבנית כלשהי",
"params": {
        "שם": {
                "label": "שם",
                "type": "string/wiki-user-name",
                "required": true,
                "description": "שם של משתמש",
                "aliases": ["1"]
        }
},
"sets": [
        {
                "label": "Date",
                "params": ["שנה", "חודש", "יום"]
        }
]

}

Aklapper added a comment.Via ConduitJun 29 2013, 7:51 PM

Making this translatable is a new feature to develop, hence resetting severity to "enhancement".

gpaumier added a comment.Via ConduitJun 29 2013, 7:55 PM

I think comment #1 is about a different, and possibly more serious issue.

What I asked initially was the ability to translate interface items that are currently hardcoded in English.

What Eran Roz is reporting is the difficulty of writing TemplateData code on RTL wikis, which sounds like a bigger problem, and not just an 'enhancement'.

Eran, you should probably create a separate bug about this issues.

He7d3r added a comment.Via ConduitJun 29 2013, 7:58 PM

(In reply to comment #1)

Mixing עברית + English or English + العربية is nightmare.

Maybe bug 50169 helps with that?

eranroz added a comment.Via ConduitJun 29 2013, 9:19 PM

Guillaume Paumier, Thanks for explanation. I created a different bug for it: bug 50436.
Helder, bug 50169 may help with it, and I mentioned it in the bug description.

He7d3r added a comment.Via ConduitJul 7 2013, 2:26 AM
  • Bug 50875 has been marked as a duplicate of this bug. ***
Jdforrester-WMF added a comment.Via ConduitJul 22 2013, 3:38 PM
  • Bug 51781 has been marked as a duplicate of this bug. ***
Jdforrester-WMF added a comment.Via ConduitAug 23 2013, 1:08 AM
  • Bug 52923 has been marked as a duplicate of this bug. ***
gerritbot added a comment.Via ConduitOct 7 2013, 4:35 PM

Change 87725 had a related patch set uploaded by Jforrester:
Localize default "empty" value and status (deprecated, optional, required)

https://gerrit.wikimedia.org/r/87725

gerritbot added a comment.Via ConduitOct 7 2013, 6:56 PM

Change 87725 merged by jenkins-bot:
Localize default "empty" value and status (deprecated, optional, required)

https://gerrit.wikimedia.org/r/87725

NicoV added a comment.Via ConduitOct 22 2013, 5:23 PM

What about parameters type ? "string", ...

Mattflaschen added a comment.Via ConduitJan 7 2014, 12:15 AM

(In reply to comment #11)

What about parameters type ? "string", ...

Filed as bug 59745.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.