Hi all and thanks for your work on this module.

I can see lots of efforts are invested, but I can't the hell find out how to use this module.

Could somebody give me a basic workflow for translating, say, just one field data on a basic content type ?

I enabled the module and I use i18n to translate most of the content, but I need to implement something special to translate profile2 data.

As of now, I activated the 'node' and 'profile' types on the admin page, and the field settings say 'Users may translate this field', but I was unable to find where the real translating stuff lies.

I tried some sample data and checked in the translation strings (like anything which goes through t() ), but I can't find any of mines.

I know my question is a bit dumb compared to the complex development problems going on here, but I would be happy to give feedback if I could at least understand the basic concepts.

CommentFileSizeAuthor
#7 et-1109198-7.patch2.62 KBplach
#2 entity_translation.jpg273.96 KBCountzero
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

plach’s picture

Status: Active » Fixed

Hi, we are aware that getting up and running with ET is not exactly simple, we have an open issue trying to address this: #1030038: Initial setup lacks UX.

You might be interested in testing/reviewing the patch, anyway you will find most (if not all) of the answers you need over there.

Countzero’s picture

FileSize
273.96 KB

Already read this thread, will do it again.

I tested a bit further and found that the 'Translate' tab seems to make i18n go crazy (see attached screenshot).

The same tab works perfectly with Entity Translation disabled.

I didn't find anything about this in the issue queue.

Countzero’s picture

Title: Node translation overview page broken if i18n is enabled » Starting point

I applied the patch (then module clean uninstall and cache clearing, then reenabled) but it didn't change anything except for the help messages, which are welcome anyway.

I'm turning this into a bug report, as it renders the other translation modules unusable.

Correct me if I'm wrong.

plach’s picture

Title: Starting point » Node translation overview page broken if i18n is enabled

Retitling.

I applied the patch (then module clean uninstall and cache clearing, then reenabled) but it didn't change anything except for the help message, which are welcome anyway.

Yes, the patch only provides those help messages :)

Probably what we need is a Help text or a documentation page.

plach’s picture

Category: support » bug
Status: Fixed » Active
Countzero’s picture

Title: Starting point » Node translation overview page broken if i18n is enabled

It seems to be only a matter of incompatible paths.

I tried to prefix all the hook_menu entries (replacing translate with enttranslate) and relevant links in the code and the modules seem to live together without trouble.

Deciding which paths the module should use is way above me, but maybe it would be a good idea just to change this fast so people like me could make some more testing and give feedback ?

plach’s picture

Status: Active » Needs review
FileSize
2.62 KB

The attached patch should fix the issue.

Countzero’s picture

Yes, the patch seems to resolve the issue : one content type with 'Enabled, with translation' and another with 'Enabled, with Entity translation' both seem to react cleanly.

I just got a message saying :

Notice : Undefined index: href dans entity_translation_overview() at line 120 in entity_translation.admin.inc

... but I guess it's unrelated.

Thanks for this fix (one of the quickest I ever got on d.o I guess).

Now back to trying to integrate the thing with profile2. If you have any hint ... or perhaps should I open a new issue ?

plach’s picture

Status: Needs review » Reviewed & tested by the community
plach’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

BenK’s picture

Just keeping track of this thread.

  • Commit 696484e on master, et-permissions-1829630, factory, et-fc, revisions by plach:
    #1109198 by plach, Countzero: Fixed Node translation overview page...

  • Commit 696484e on master, et-permissions-1829630, factory, et-fc, revisions, workbench by plach:
    #1109198 by plach, Countzero: Fixed Node translation overview page...