Topic on Project:Support desk

How to change the label translations of ContactPage?

7
49.230.196.190 (talkcontribs)

Principally all core, Hebrew-installed MediaWiki 1.34.2 with Extension:ContactPage.

My ContactPage contact form comes with two default fields - "Your email address" field and "subject" field.

The labels of these two fields are automatically translated to Hebrew as "כתובת הדוא"ל שלך" and "נושא".

I desire to change the translations to different translations.

I can change the translations with JavaScript but I desire a backend (most preferably directly from the MediaWiki CMS) solution.

How to change the label translations of ContactPage?

Ciencia Al Poder (talkcontribs)
49.230.196.190 (talkcontribs)

This is quite a large page with most data not associated with the very specific task I ought to do; furthermore, Extension:ContactPage is not mentioned there;

I desire a user-interface way to control the translations, is that even exist? (changing from files with text editor is not a good solution for me because the new translations will get automatically changed in upgrades).

Ciencia Al Poder (talkcontribs)

The page I linked is very relevant, and you can find good indications in the first 10% content of that page.

I don't want to spend time installing the extension or analyzing its code to find what message I have to edit to change the translation, and you don't want to read a page with an overview and instructions about how to change translations of any MediaWiki message (and extensions). However, that's not my problem. Good luck waiting for a step by step response.

49.230.19.188 (talkcontribs)

Well, I took another read on the linked page and again I found it very large and not very accessible; there was some nice general information in the first three chapters but not a direct explanation on how to solve my particular problem.

Anyway, to change the translations from a user interface, what I had to do was to go to "Special pages" (translating from Hebrew), then to "System messages" (translating from Hebrew), I then filtered the list to show 5,000 entries and by CTRL+F, I searched for the desired strings and changed them by creating a new webpage for them after clicking their Red link and writing the new string in it and saving it; after saving the new webpage (containing a new string); the two strings appeared in the relevant entry (the old translation on top with Yellow background and the new translation on bottom with Green background).

49.230.19.188 (talkcontribs)

After I did the described action I checked my form and saw the change.

Ciencia Al Poder (talkcontribs)

The section "Finding messages" should also be useful here...