Plug-in Show language variant dependencies of content class elements

This plug-in helps you to decide, if a page of a content class will appear in the translation editor’s list of pages needing translation.  It gives an overview of the checkbox “language-variant independent” of all content elements of selected content class.

It shows a table with following columns:

  • Element name
  • Element type
  • One value for all LVs
  • Different values per LV

Please have in mind, that headline elements are treated differently from version 9.0.1.49. This attribute is moved from headline elements to the content class itself.

Benefits
The MS decides after the content class element attribute “language-variant independent” if a page of this content class will appear in the translation editor’s list of pages waiting for translation.

This is quite difficult to handle, because a typical content class has a quite big amount of elements. Checking each of them to decide if the setup is correct wastes a lot of time.

This plug-in collects this attribute’s value and present it to you for an perfect overview and checks of the translation editor setup.

Location in SmartTree
You found this plug-in under Administer Content Classes > Folder > at every content class.

How it works
First you need to navigate to the content class you want to check. Start the plug-in and immediately afterwards it will collect the needed information. The result is presented to you in the following table.

Important notice for headline elements
Don’t forget to check the state of the content class attribute “Adopt headline to all language variants”. This is introduced in V9.0.1.49. Since that version the headline elements are not included into the table.

It marks elements green, if a red dot in Smart Edit is included in the Template Variant of project’s display Project Variant. This means that the translator can access it, what is treated green = correct.

It marks elements in red, where no red dot is found. This is often wrong, because a translator will get this page for translation, but cannot access the elements needed for translation.

At the bottom the plug-in summarize the totals of all elements at all, how many of them having the same value on all language variant and how many have different values.

Installation
This plug-in can be installed using the combined setup routine for all jRQL API based plug-ins. Follow the instructions in this blog to download the installer and configure the plug-ins you want.

For API developers
The functionality is backed mainly be the following methods:

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: