Hi y'all
I have localized/translated all available strings for my modern magazine skin. However, the header still displays the untranslated string "Search" (tooltipp "Search Documentation") next to the burger menu.
Where do I find this string for localization?
Thanks in advance.
Regards
Martin
V4 Magazine Skin - untranslatable string "Search"?
Moderators: Alexander Halser, Tim Green
- Martin Krimmel
- Posts: 15
- Joined: Wed Dec 11, 2019 3:47 pm
- Location: Germany
- Contact:
V4 Magazine Skin - untranslatable string "Search"?
Martin Krimmel
Technical Writer/Translator
d.velop Life Sciences GmbH
Technical Writer/Translator
d.velop Life Sciences GmbH
- Tim Green
- Site Admin
- Posts: 23187
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: V4 Magazine Skin - untranslatable string "Search"?
Hi Martin,
This was overlooked, the texts are still hard-coded. You can find them in the Page Template, at lines 173-174. Variables will be added for this in the next maintenance update. (Note that you need to activate the advanced functions in Toolbox in Edit > Preferences without a skin loaded to be able to edit the templates with it.)
What you could do is use the BTNTEXT_SEARCH variable for the main text and add a BTNTEXT_SEARCHTIP variable for the tooltip, like this:
That will then match the update when it is released.
This was overlooked, the texts are still hard-coded. You can find them in the Page Template, at lines 173-174. Variables will be added for this in the next maintenance update. (Note that you need to activate the advanced functions in Toolbox in Edit > Preferences without a skin loaded to be able to edit the templates with it.)
What you could do is use the BTNTEXT_SEARCH variable for the main text and add a BTNTEXT_SEARCHTIP variable for the tooltip, like this:
Code: Select all
<a id="topicsearchlink" class="topicnavlink" onclick="hmWebHelp.doSearch()" title="<%BTNTEXT_SEARCHTIP%>">
<svg class="navicon" viewBox="0 0 27 32"><use xlink:href="#search"></use></svg>
<span><%BTNTEXT_SEARCH%></span></a>
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
- Martin Krimmel
- Posts: 15
- Joined: Wed Dec 11, 2019 3:47 pm
- Location: Germany
- Contact:
Re: V4 Magazine Skin - untranslatable string "Search"?
Hi Tim,
as was to be expected, this worked like a charm.
I should probably have found this myself but I was apparently to hasty scrolling through the different templates and overlooked it as well.
Thanks for the immediate help.
Regards,
Martin
as was to be expected, this worked like a charm.
I should probably have found this myself but I was apparently to hasty scrolling through the different templates and overlooked it as well.
Thanks for the immediate help.
Regards,
Martin
Martin Krimmel
Technical Writer/Translator
d.velop Life Sciences GmbH
Technical Writer/Translator
d.velop Life Sciences GmbH