Posted by itdcole on August 3, 2008 at 9:20pm
| Project: | Translatable Comments |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | davidtrainer |
| Status: | closed (fixed) |
Issue Summary
I LOVE this! It was the closest translation tool I found for all of drupal to automatically translate things. But, it's only in the forum, and it's comments. While I can definitely work with that, what about the Forum Title? Or even the front page posts?
My main question is this even possible? For 5.x or 6.x
Comments
#1
#2
Agreed. The module should make it possible for site admins to select which pieces of content will be translatable.
#3
Inspired by this excellent module, I expanded and used different technology to build the Translatable Regions module, which does exactly this. It allows you to use any CSS selector to target what you want to translate.
-Randy
#4
Just committed two major changes to CVS HEAD to address this:
1. The configuration page now includes a field for content selection. You can add css selectors here to specify which content will be made translatable. So using the drupal.org forums as an example, if you wanted to add the translator to the body of every forum post, you would add this line to the Select Content field:
.node-type-forum .node .contentTo make the individual paragraphs translatable (usually a good idea), it would become
.node-type-forum .node .content pFor the titles of every item on the d.o front page, you would use
.front h2.node-title2. The code to build the translator widget has been moved out of nodeapi and into hook_init. So it's included on every page load, not just when a node is being viewed. You can now make your blocks translatable, or pieces of views, or anything else that you can address with a selector. Sky's the limit.
#5
I can't see the new version at http://drupal.org/node/247104/release, when can we expect it to appear?
Is the display affected by any chance? :(
Please see attached the image that I am talking about, I hope it's fixed in this new release.
#6
@davidtrainer: Want to merge modules with Translatable Regions? Or merge and take it over? It meets my needs just fine, and I think the jquery.translate library is fantastic for it. Also, the D7 port is ready.
#7
@Vako, the development snapshot release is updated twice daily. It's there now.
#8
Automatically closed -- issue fixed for 2 weeks with no activity.