Translating Plugin: front-end-upload
-
Hello,
i installed this plugin:(http://wordpress.org/extend/plugins/front-end-upload/) in this page: http://www.joajeep.com.br/site/fotos/ . and i want translate this to portuguese(pt-br) and this plugin have a pt-br.js file already, but didnt work :/
This is the language code:
// plupload localization
$locale = substr( get_locale(), 0, 2 );
if( ‘en’ != $locale )
{
$plupload_translations = array( ‘cs’, ‘da’, ‘de’, ‘es’, ‘fi’, ‘fr’, ‘it’, ‘ja’, ‘lv’, ‘nl’, ‘pt-br’, ‘ru’, ‘sv’ );if( in_array( $locale, $plupload_translations ) )
{
wp_enqueue_script(
‘feu-plupload-queue-i18n’
,FEU_URL . ‘/lib/plupload/js/i18n/’ . $locale . ‘.js’
,’jquery’
,FEU_VERSION
,false
);
}
}i tried change “en” to “pt-br” but didnt work!
Thanks so much,
Adriano
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
You have posted to thw rong support forum and we can’t help you. You’ll find help at the WordPress.org forums http://wordpress.org/support/
-
- The topic ‘Translating Plugin: front-end-upload’ is closed to new replies.