• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lang() third parameter: bug or feature?

#1
Hello.
If i use this once:
PHP Code:
lang('some_file.some_string', [], 'fr'); 

This will result all next:
PHP Code:
lang('some_another_file.some_another_string'); 
will show last used locale string as if we had done so:
PHP Code:
lang('some_another_file.some_another_string', [], 'fr'); 


It's ok?
Reply

#2
At least this behaviour is not documented. I just ran into the same issue. I think that this is a bug.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.