Trying to get a reasonably fluent (swedish) translation for my gallery, I stumble on the menu block. This seems hardcoded somewhere! All different language options I tried have the default "MENU" in the head, but in the actual menu, it is customised to suit the specified language.
The top "MENU" should also follow the language setting, but what is the reason for the current behaviour?
Offline
Hello
Zaphod forgot to turn that word into a translatable one.
I notice him
thx for reporting
Offline
I'll include the modification in the next version.
In some languages, the results seems strange (in czech for example, it's: "Další funkce", which seems to mean "other characteristics").
But I think this is more a translation problem than a theme problem... the theme should use the language item for "menu".
Offline
I just installed piwigo 2.2.5, this feature is still present...
Where can I edit the code to change it, which file does it appear in or is it in the database?
Thanks,
-- styxsailor
Offline
styxsailor wrote:
I just installed piwigo 2.2.5, this feature is still present...
Where can I edit the code to change it, which file does it appear in or is it in the database?
Thanks,
-- styxsailor
Isn't key to piwigo but key to stripped
stripped is up to date on your site ?
Offline
I did a fresh install just today from the Netinstall.php, so it should be the latest, however it does not come with a "stripped" theme at all. "Clear" "Dark" and "Sylvia" are installed by default, and I use my favorite "Simple Grey".
Offline
styxsailor wrote:
I did a fresh install just today from the Netinstall.php, so it should be the latest, however it does not come with a "stripped" theme at all. "Clear" "Dark" and "Sylvia" are installed by default, and I use my favorite "Simple Grey".
simple are a lang file with menu ?
Offline
The screen capture in the first post is indeed from "simple grey" theme.
So there's no way you can see a modification that has been done on another theme;)
(which is based on simple grey... so I needed to do the modification anyway)
Last edited by Zaphod (2011-09-04 20:30:59)
Offline
There is one file to modify in the theme "simple".
In index.tpl, on line 3, there is a "Menu" to replace by "{'Menu'|@translate}".
Offline
The exact line to replace is:
<span id="menuswitcher" title="{'Show/hide menu'|@translate}">Menu</span> »
by
<span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span> »
The best thing to do is to create a template extension with local files editor.
Last edited by Zaphod (2011-09-04 20:35:22)
Offline
Ahhh, there it is! :) Now it looks nice and consistent. Thanks a lot for the help! I will have to read up on template extensions a rainy day, as well as repositories and contributions, as I find myself (re)doing quite a bit of translation improvements as I try to set up a gallery in Swedish.
Offline