Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I added a views filter so that one can create a listing of nodes with no translation.
Comment | File | Size | Author |
---|---|---|---|
i18nviews.patch | 789 bytes | Jody Lynn |
Comments
Comment #1
lelizondo CreditAttribution: lelizondo commentedpatch working with 2.5.. great
Comment #2
Jose Reyero CreditAttribution: Jose Reyero commentedNew features are for 6.x only.
Comment #3
lelizondo CreditAttribution: lelizondo commentedI think moving to won't fix is a mistake. This patch is very old and never was ported. Maybe someone (I'll do it if I have some time) could make a patch for 6.x. I am not using this module in any of my sites anymore but I think this could be useful.
Comment #4
dagomar CreditAttribution: dagomar commentedHow can this NOT be a feature??
Comment #5
Jose Reyero CreditAttribution: Jose Reyero commentedOk, reopen if the patch is ported.
Moved to new project. See #788290: Fix views compatibility issues (2.x, 3.x), spin off i18nviews module?
Comment #6
miro_dietikerUff .. The patch provided is really from 5.x times.
Setting back to active as an initial ToDo.
Actually you can do pretty much with current filters.
For example
- Node translation: Language <> No language
MEANS: node must be a specific (translateable) language
- Node translation: Translation set node ID = 0
MEANS: there's no translation added
However what we clearly can't do is:
List nodes that lack translation for specific language X.
This would need a custom handler.
Patches welcome!
Comment #7
WWB CreditAttribution: WWB commentedEdit: Sorry...this comment can be deleted as it was already pointed out in the previous comment...not trying to steal thunder.
You don't need a patch for this...just add to the Filter of the View the following condition (in addition to any other conditions you have set for the view): Node translation: Translation set node ID = 0
All untranslated nodes have the value of zero (0) for the 'Translation set node ID' field in the "Node translation" group.
Hope this helps somebody.
Comment #8
dagomar CreditAttribution: dagomar commentedThanks #7.
Does that mean this issue is solved? (perhaps status should change)
cheers,
Dago
Comment #9
ANDiTKO CreditAttribution: ANDiTKO commented@ #6
Thanks. That worked for me in Drupal 7
Comment #10
OneTwoTait CreditAttribution: OneTwoTait commentedI think the terminology of Views was changed a bit. It's now:
Content translation: language
- Settings: "is not one of" "no language"
Content translation: Translation set node ID
- Settings: "is equal to" "0"