Bachir Soussi Chiadmi 10f68b951d started to activate translations ajax nav 6 yıl önce
..
config 10f68b951d started to activate translations ajax nav 6 yıl önce
src 10f68b951d started to activate translations ajax nav 6 yıl önce
LICENSE.txt 10f68b951d started to activate translations ajax nav 6 yıl önce
README.md 10f68b951d started to activate translations ajax nav 6 yıl önce
translation_views.info.yml 10f68b951d started to activate translations ajax nav 6 yıl önce
translation_views.module 10f68b951d started to activate translations ajax nav 6 yıl önce
translation_views.views.inc 10f68b951d started to activate translations ajax nav 6 yıl önce
translation_views.views_execution.inc 10f68b951d started to activate translations ajax nav 6 yıl önce

README.md

Translation View

Description:

Provides fields and filter for views to display information about the current row, the source translation, in another target language. You can also add translation operation links to decide if you want to add/edit the content in the target language.

Configurations for a demo view is impored on installation, named Content translation jobs which can be found at path /translate/content. If you want to get view for other translatable entities, you should build it yourself using our fields/filters.

Notice: This module provides view's fields/filters only for translatble entity types, this means that until you have enabled content translation support for an entity you'll not get provided any extra fields/filters. The content translations can be enabled at path admin/config/regional/content-language

Features

Target translation

  • Target language: field,filter. Should in most cases be an exposed filter. Also there is an extra filter option: Remove rows where source language is equal to target language

These fields/filters will display information about the current content in the selected target language:

  • Translation outdated: field,filter
  • Translation status: field,filter
  • Target language equals default language: field,filter: Checks if the target language is the same as the original language of the node.
  • Translation changed time: field
  • Translation source equals row language: field,filter: Checks if the source translation of the target language is the same as the language of the row
  • Translation operations: field

Source translation

  • Translation counter: field,filter

Requirements:

  • Drupal 8
  • PHP 5.6+

Installation:

Install module as usually.

Demo view: Content translation jobs:

Upon installation a new view is added named Content translation jobs that demonstrate how the fields/filters can be used to create lists of translation jobs. Available at path /translate/content.

If this didn't happened on installation than go to theadmin/config/development/configuration/single/import and manually import config from the file located in the module folder at: config/optional/views.view.content_translations.yml.

Fields The view display:

  • Title for each node in the view
  • The node language
  • The target language
  • The translation status of target language.
  • The time the content was last changed in target language
  • Translation operations to add/edit translation in target language

Filters Exposed filters:

  • Source language (the language of each node in the view)
  • Target language
  • Outdated status in target language
  • Translation status in target language

Hidden filters

  • Source content outdated must be false: Make sure you do not translation from outdated nodes.
  • Target language equals default language must be false: As there is no use to check status of original language as a target language.
  • The target language must be untranslated or outdated: Make sure translated and updated content disapear from the list.
  • The target language must be untranslated or the same as the source language of translation: This makes sure that once there is a translation in target language it will only be displayed if the source language is the correct source language. If target language is not translated you can use different language as source translation.

Credits

Developed by vlad.dancer
Designed by matsbla