
All default templates are in English, and there are a lot of users that need them translated into own languages. With recent changes in 1.6.4 translating is much easier because reassigning the templates is now done automatically by the plugin.
As said before, you CAN’T edit default templates. That is done to ensure that plugin can fall back to defaults if you make an error with your own templates. So, if you want your own language you need to duplicate template and translate them. We will start with the simplest template used for word vote, I will translate them into Serbian language:
- Go to the T2 Templates panel, find Default Element Word Votes template, and click duplicate. You will get the editor window as the one on the right.
- Give your new template a name, that is best to feature the language name also. You can add description, but that’s not required.
- There are two checkboxes at the top, and you need to check both of them. First one will set this template as default. The second one is much more important and will cause for all templates using this one to switch to this newly created template, and that will cause for all templates to show word vote in your own language.
- The bottom has two template elements that you need to translate, with singular and plural of word votes. Replace the words with your language translations and click save.
The same princip can be used for all the other templates. Here is the list of default templates that actually have words for translation in them:
- Default Standard Rating Text
- Default Comments Rating Text
- Default Multi Ratings Text
- Standard RSS Rating Block
- Default Element Word Votes
- Default Widget Star Rating
- Default Widget Blog Rating
- Default Widget Comments Rating
- Default Thumbs Article Rating Text
- Default Thumbs Comment Rating Text
This doesn’t mean that you can’t use any text in other templates, it all depends on the your needs and the design you want for the rating blocks and results.
loading...






September 17, 2009
at 4:28 PM
Direct link
Great, but it doesnt support cyrilic alphabet at all. BTW i got an russian language blog and script has not auto translated into russian. What the fault ?
loading...
September 17, 2009
at 5:12 PM
Direct link
Plugin supports cyrilic letters just fine. Your database on the other hand is most likely not set to proper encoding for all tables, and you should check and set all tables right. Plugin also has a russian translation, but that also depends on the WordPress installation and set language code.
loading...
September 17, 2009
at 8:36 PM
Direct link
Dear Sir, when I installed fully russian version of WP I`v set up the database encoding to utf8_cyrillic. And the plugin is fully translated on admin panel but on the blog i still have English default language. I`v tried to change the words as you described in this article but all the words I typed in russian were not shown at all at articles.
Ill keep investigating on it cause rather my fault, but to be sure, can you test it?
Thanks in anticipate.
loading...
September 17, 2009
at 9:17 PM
Direct link
I told you to check each table collation, not database.
loading...
September 18, 2009
at 5:59 PM
Direct link
I installed fully russian version of WP, I`v set up the database encoding to utf8 and i’v made duplicate of all needed template, translate whem to russian, and seems all is OK
see my blog
loading...
September 30, 2009
at 9:08 PM
Direct link
Thanks for the example!
loading...
October 12, 2009
at 10:06 AM
Direct link
But one problem still is. every time the plugin update reset’s my default templates. and i have to set my templates to default again.
loading...
October 12, 2009
at 12:39 PM
Direct link
I will check this, but I didn’t noticed the problem on my blogs where all are using non standard templates.
loading...