Jump to content

Search the Community

Showing results for tags 'i18n'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 1 result

  1. Hi, I have a little suggestion for developers. I want to translate PL menu in admin panel, but it is not so simple. Adding i18n for ui_key function in library.functions.php like that: function ui_key($key){ - return ucwords( str_replace( '_', ' ', str_replace( 'pl_', ' ', $key) ) ); + if($key[0]=='_') + $key=substr($key,1); + return __(ucwords( str_replace( '_', ' ', str_replace( 'pl_', ' ', $key) ) ),'pagelines'); } Could be much useful.
×