Module Description
πΊπ¦ This module is maintained by Ukrainian developers.Please consider supporting Ukraine in a fight for their freedom and safety of Europe. Utility to simplify the translation of lines on the site.
Compared to drupal 7, in drupal 8 and 9 the translation of lines is quite inconvenient: it is difficult to translate one line into all languages ββdue to the need to constantly switch languages.
The module provides an alternative interface for translating lines:
* translate a line into all languages ββon one page without unnecessary clicks;
* page of the translation line in all languages ββ(as in drupal 7);
* possibility of translation via google translate service;
* availability of the google translate service on the pages of translation of field names, blocks, entities, views, etc .;
* block page reloads if no data is saved;
* exporting translations;
Other functionality
<?php // Analog "t('Home page', [], ['context' => 'project']);" gtext('project')->t('Home page'); gtext()->project('Home page'); // Analog "t('User @name', ['@name' => 'Admin'], ['context' => 'project'])" gtext()->project('User @name', ['@name' => 'Admin']); gtext('project')->t('User @name', ['@name' => 'Admin']); // Analog \Drupal::translation()->formatPlural(1, '@count comment', '@count comments', [], ['context' => 'project']); gtext()->project->plural(1, '@count comment', '@count comments'); ?>
Compared to drupal 7, in drupal 8 and 9 the translation of lines is quite inconvenient: it is difficult to translate one line into all languages ββdue to the need to constantly switch languages.
The module provides an alternative interface for translating lines:
* translate a line into all languages ββon one page without unnecessary clicks;
* page of the translation line in all languages ββ(as in drupal 7);
* possibility of translation via google translate service;
* availability of the google translate service on the pages of translation of field names, blocks, entities, views, etc .;
* block page reloads if no data is saved;
* exporting translations;
Other functionality
<?php // Analog "t('Home page', [], ['context' => 'project']);" gtext('project')->t('Home page'); gtext()->project('Home page'); // Analog "t('User @name', ['@name' => 'Admin'], ['context' => 'project'])" gtext()->project('User @name', ['@name' => 'Admin']); gtext('project')->t('User @name', ['@name' => 'Admin']); // Analog \Drupal::translation()->formatPlural(1, '@count comment', '@count comments', [], ['context' => 'project']); gtext()->project->plural(1, '@count comment', '@count comments'); ?>
Module Link
Project Usage
488
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to simplify the translation of lines on Drupal sites by providing an alternative interface for translating lines, including the ability to translate a line into all languages on one page, using the Google Translate service, and exporting translations.
Data Name
gtext