Περιγραφή
This is a WordPress plugin allows you to use a shortcode like this,[translate_this lang="fr"]un texte en français[/translate_this]
,
to automatically insert Google’s Translate Web Element which creates an AJAX-enabled link that will translate the block of text in-line.
For more information about the Google Translate Web Element, click here.
Εγκατάσταση
- Upload
translate_this_plugin.php
to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Use the shortcode
[translate_this][/translate_this]
Parameters:
* lang="xx"
– Required. Where xx is the two character language code (i.e. en for English).
* background="#XXXXXX"
– Optional. Where #XXXXXXX is a hexadecimal color code. Defaults to transparent.
* base_lang="xx"
– Optional. Where xx is the two character language code (i.e. en for English). Defaults to “en” for English.
Συχνές Ερωτήσεις
Why doesn’t it work?
The default base language is English. If you put the short code around a block of English it doesn’t need to translate it.
Also, check the two character language code is supported by Google Translate. Make sure you have the lang parameter in there and the value is language you want to translate from.
Κριτικές
Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.
Συνεισφέροντες & Προγραμματιστές
“Translate This gTranslate Shortcode” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “Translate This gTranslate Shortcode” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
1.0
- Initial Version.