how to create div caption similar to form label with knockout of background div borderHello Lenny, you answer is very pretty. Really. And you understand my problem very precisely. However, I forget to mention, that text "inspirations to seeing and doing" is just an example and it may vary. Therefore, text width can vary too :( So, I need to let borders wrap the text with fixed margins. Moreover, H1 width is not fixed too (it is n% of parent element) and it may be changed dynamically by changing width of browser window.

gettext string in php class method argumentsnPoday. I Am very sorry for wasting your time. I discovered, That i not only echoing the variable, i storing it into the session and then i echoing session variable. Which, of course, stay unchanged even i change language. Many thanks to show me the forest behind the trees. And one more time. Sorry. I will close this issue. Have a nice day.

gettext string in php class method argumentsOK I have a site primary in Ennglish lang. I created complete translation to Slovak lang. When i try to switch between languages, static strings marked for translation by _('') are translated pretty well. Unfortunately, strings marked same way and passed to functions as arguments don`t accepting language switch. They stays in translation which was set on first page load. Hope my problem will be a bit more clearer now.

Oct21

comment

gettext string in php class method argumentsLikely, for now, I have only one translation available. And I Am definitely sure, that translation is there. As i mentioned, I AM already able to see translation but I Am not able to switch to another. Any other static text works perfect. I Am able to swich between languages pretty well. I suppose it has something to do with php caching or so. I already restart apache, but it didn't help.

gettext string in php class method argumentsThank you for your interest. Yes, strings has been picked for translation into pot file and they are translated in appropriate mo files. I see translation if i switch browser preferred language to one supported by application. It means, translation itself are OK. They are just not changed, when i change language. Only static translations works well.