Pass parameter to Translate function

Hello, I want to force a translation with a parameter value, for example, with cookie. I have seen
that this function admit a parameter to locale. link

So, for example i want to do:

h3><?php echo $translate('Media',' ','en-US'); ?></h3>

However, I can’t get the passing of parameters to the aforementioned function to work. Can someone help me? Thank you

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.