This module is making me feel silly... I can't get it to do anything. So far all it did was replace the "translation" tab with a "translations" link at the bottom of the page. The translations link just gives me a pop-up box allowing me to switch to other translations, if they exist. What should I do?

Also I found this description on the front page a bit confusing. The first paragraph indicates that the module is used to translate nodes, the second paragraph that it's used to translate modules:

Node translation is a module that utilizes the translation framework in order to machine translate nodes utilizing the locale and translation module.

The module allows you to translate a module into any language that the translation framework api allows. Even if the language is not currently turned on in the locale module the node translation module will add the additional languages to the select box so that the user can see which languages the node has been translated into.

Comments

binhcan’s picture

Same thing happened to me while i"m trying to build Jewell Gemstones with multilingual. It wasted me whole night just to figure out I couldn't translate anything anymore until I disabled it.

darren.ferguson’s picture

Will be providing more comprehensive instructions on how to utilize the module in the coming months.
Did you install the translation framework when you installed this module since it relies on that module.
Will have to check the dev code and make sure the dependency is in there

fletchgqc’s picture

Yep I think I did. If it's a requirement I definitely did.

darren.ferguson’s picture

Does your logfiles produce any php errors that you can tell?

binhcan’s picture

Hi Darren,

Thanks for answering. I don't have error logfile.

Could you please post some screenshot of the working module?

darren.ferguson’s picture

StatusFileSize
new120.95 KB
new113.9 KB
new129.47 KB

Attached are the screenshots of the module in operations.

1. Is when the translations link is clicked the system will check if the node has a language and if not allow you to set it. Then you can click on the link below to do the translation.

2. This is showing you the translation of the title and body for the node, it allows you to see this as a preview before it asks if you wish to create the translation./

3. If you decide to create the translation it takes you to the node create and pre-populates the fields it translated for now i believe it is title and body but will be expanded at a later date.

pamshalligan’s picture

I had this module working fine yesterday, no problems at all and all of a sudden today it seems to be confused. I click to translate one of the languages on the list and it just gives me the English again.

Its also not giving me the option to translate into all of the languages I have enabled on the site.

darren.ferguson’s picture

This issue is most likely drupal's drupal_http_request function. If it fails going to a url it does not work again until you clear the drupal cache.

It is a very weird implementation in the drupal_http_request function and it has been spoke about on Drupal.org

That is most likely the reason behind this or the other one might be google's translation is down but that is unusual.

pamshalligan’s picture

Tryed clearing the cache with no effect. the funny thing is it actualy does the translation for some nodes but not others. There isn't any connection between the nodes that I can find, it will get the translation for one page but not another.

binhcan’s picture

Status: Active » Needs review

Thanks for the images. I'd love it working that way. Unfortunately it didn't do like that on my site. Let me try again. If you have some free time please try on some other server.

Does it need any special cache or folder permission, anything?

My latest Drupal site is Classical Chinese Furniture - Juyou and all the translation I had to do by myself manually. If your module works well I'd be so happy because... I can't read chinese ;)

Thanks for trying.

binhcan’s picture

Component: Miscellaneous » User interface
Priority: Normal » Critical
Status: Needs review » Needs work
StatusFileSize
new2.76 KB

here is what I got.

darren.ferguson’s picture

That looks like the language is not set and also that you do not have the google translation portion active in the module. Can you verify on the translation framework that the google sub module is infact enabled.

binhcan’s picture

StatusFileSize
new9.42 KB

You mean this thing on the attached image?

Ofcourse all required modules are enabled.

darren.ferguson’s picture

Yes that is the google portion of the system that should work and translate the code.

Without being able to view pieces of your system i could not help trouble shoot more unfortunately.

If you can arrange access i will be more than happy to continue trouble shooting with you

nexco’s picture

I'm in the exact same boat with our site trying to translate into Chinese. Same exact situation that everyone else is describing. Can't get this module to work. Followed all the instructions just like everyone else - installed Translation Framework, enabled Google checkbox, installed Chinese language , on and on. Still get the same exact screen as #13
binhcan - April 3, 2009 - 10:27 above

Darren - is it possible for you to simply make a check list of the 10 things we all need to do? The module clearly works for you. Can you take 30 minutes and post that list here? We would all be in your debt. Many thanks.

darren.ferguson’s picture

I just tried the translation on Chinese for my home system and it just worked.

Are you able to put a print_r in the translation framework in the send function where the drupal_http_request is occurring.

I am thinking something is not right coming back from google but this will let us know what is happening.

binhcan’s picture

I'm pretty sure it's under this function of your module:

function node_translation_current_translations($node) 

Something wrong inside that make it unable to detect the enabled languages.

I will take a look later, at the moment I'm dealing with too many issue related to multilingual... hic.

darren.ferguson’s picture

Assigned: Unassigned » darren.ferguson

Okay guys, i actually checked the modules that were up there for the translation framework and node translation and noticed they were substantially different that what we have been using and the dev branch on Drupal had not been updated.

With that in mind i have made two interim 6.1.1 releases one for the translation framework and one for the node translation module.

Can you get both of these and install them and then i am going to bet the problems should disappear since it will be the same code we utilize on our systems.

Apologies for this, i just noticed when i decided to install from scratch from the drupal.org modules and not the ones from our internal svn branch.

Please advise.
Respectfully,
Darren Ferguson

binhcan’s picture

Status: Needs work » Needs review
StatusFileSize
new1.33 KB
new6.1 KB
new6.59 KB
new7.16 KB
new2.82 KB

Thanks Darren,

It seem to be working but not functioning properly. I love the way it is doing, however please check again.

There are some problems listed below.
1. Your project file is .tar.gz.gz and inside there is another .gz file, not the project folder. So it didn't work on my first attempt (quick extract) I had to do double extract.
2. Your .gz file is not .gz actually. I got the error message from CPanel when trying to attract it. Look the image attached. So I had do extract the content and zipped it.
3. Critical: Apparently, only the title is occasionally translated, the body is completely untranslated, and no other field is translated. When I click "Create Translation" I get a Create page completely blank fields.

I'm very excited waiting for your next fix.

Thanks again,

Binh

darren.ferguson’s picture

For the translation framework you should be downloading this file from d.o.
http://ftp.drupal.org/files/projects/translation_framework-6.x-1.1.tar.gz

For the node translation module you should be downloading this file from d.o.
http://ftp.drupal.org/files/projects/node_translation-6.x-1.1.tar.gz

I downloaded both from d.o. and they are formed tar and gzipped archives.

Based on the first image you have above can you please re-check with these files.

jaisenan’s picture

StatusFileSize
new51.47 KB
new32.36 KB

I have installed the latest versions of the Translation Framework and Node Translation module. Then, when I click on the 'Translation' link in the created node it will display the translated content. But I am not sure how to proceed from there.
Darren, can you help me to proceed. when I click the 'Create Translation' link on the popup, it will redirect to the page as shown in the image create_translation.JPG.
Also when I click the Chinese language to translate, It will not translate correctly(see create_translation.JPG).

Please give me a feedback.

darren.ferguson’s picture

This version is no longer supported too many bugs in it, i would suggest taking the development branch of both translation framework and also the node translation there all the bug fixes in there. Going to be putting out the release 6.1 soon, just got tied up with a few more things on it.

darren.ferguson’s picture

Status: Needs review » Closed (fixed)

Issues have been resolved with the latest version of both the node translation and the translation framework. This was due to google having a 500 character limit for the information being sent to translation. Please get the latest verisons of these modules and this problem will no longer be there.