Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there any clean way (not overwriting wp-includes\js\thickbox\thickbox.js file) to translate english next/ prev/ image # of # and Close tooltip in Wordpress native Thickbox script?

share|improve this question
add comment

2 Answers

Localize Wordpress or write and load special localization for your language specialy for thickbox. Thickbox dialogs support localization provided by WP

Update - Let's Check

1. You have uncomented string <code>define('WPLANG', 'pl_PL');</code> in your wp-config.php
2. You have localization files in wp-content/languages/
share|improve this answer
    
Hi! I have installed polish version of Wordpress and have translated words like "Next" in pl_PL.po / pl_PL.mo located in "languages" folder. What else I can do? –  cachaito Nov 14 '12 at 22:42
    
as far as i see polan translation (provided by pl.wordpress.org) already contain translation for thickbox. its should work in wp-admin now with dali/poperednie/obraz words... can you confirm it? –  Oleg Butuzov Nov 14 '12 at 23:10
    
Sorry I can't understand last sentence (its should work in wp-admin now with dali/poperednie/obraz words...) –  cachaito Nov 14 '12 at 23:27
    
Thickbox should be localized in polish if you using Polish wordpress (with localization files and anabed WPLANG in wp-config) –  Oleg Butuzov Nov 15 '12 at 5:25
    
I have 'WPLANG', 'pl_PL' in wp-config and polish language in whole WP except Thickbox... By the way, to call Thickbox I'm using a WP Thickbox Integration Plugin but it uses native thickbox.js –  cachaito Nov 15 '12 at 9:58
show 4 more comments

I got it now. Newest WordPress version has translated Thickbox version! Thank You Code Monkey for help!

Anyway I still wonder why in version 3.3.1 the translation doesn't work (I've checked pl_PL.po file in wp-content\languages and there is translation pointing to script-loader.php where actually are strings from Thickbox for translation! :-/

share|improve this answer
    
you wellcome. pick the answer =) –  Oleg Butuzov Nov 16 '12 at 18:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.