Posted 11 April 2013 - 10:15 AM
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:
Could be much useful.
Posted 11 April 2013 - 10:21 AM
Not sure why you would want to translate the PageLines settings name, as its our brandname. Its the same for brands like Coke Cola, the branding isn't translated, it remains the same throughout most countries.
Posted 11 April 2013 - 10:30 AM
I don't want to translate "Pagelines" or anything related with your brand. Just menu items like "Site Options" or "Drag & Drop" could be translated for better understanding, especially in European languages
Posted 11 April 2013 - 11:14 AM
As far as I am aware, it is already possible to translate the backend options, see our translation center -
The Dutch full translation has store translation to Winkel, which I assume is a correct translation.
Posted 11 April 2013 - 12:25 PM
I've tested Dutch translation, and all tabs names in admin are still in english. The only way I know is add __() method to ui_key, as i wrote. Of course i can do this manually, but integrating it with core could be helpful thing
Posted 12 April 2013 - 01:04 AM
No sorry that simply wont work.
The translation script scans the file for translation strings, it is NEVER actually executed, so:
__( 'hello', 'domain' );
__(ucwords( str_replace( '_', ' ', str_replace( 'pl_', ' ', $key) ) ),'pagelines');
A better idea would be:
Posted 12 April 2013 - 01:05 AM Best Answer
If you test this and it works, I dont mind adding it to core.
Posted 12 April 2013 - 08:25 AM
I made other plugin to generate items for gettext scanner, but idea with filters is much better
Adding it to core could be great.