simple beauty
camomiletea
Constance - Make tea, not war
Back Navigation Forward
Constance - Make tea, not war: dear diary

I found out a neat thing, tinkering with Navigation Strip today. If your layout contains $this->print_control_strip(); the navigation strip will appear in English, always to everyone. If not, the navigation strip is using the language settings of a remote user (or browser settings, if user hasn't specified anything or hasn't logged in). Russian for me.


Comments
default

Hm, that seems almost like a bug to me. It should probably always display in the remote user's language, right? I can probably fix it fairly easily, I think.


default

Yes, I think it would be nice if it displayed in remote user's language. If it helps, when the layout doesn't have that function, there's some script thing that makes the control strip appear. An example may be seen on support_general, which overrides Page::print() function to add tags in the sidebar, and as it was done before control strip, doesn't have it.

Can the built-in core function print_control_strip use the translation strings? There's a bunch that start with "web.controlstrip."


Back Navigation Forward

Add a little sweetness to your day
Diet tip:
Eat a chocolate bar before each meal.
It'll take the edge off your appetite
and you'll eat less.

April 2016
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  

Log In/Out
Username:
Password: