ProcessTranslatePage – A Processwire module to translate all page fields via Fluency

Overview

ProcessTranslatePage – A Processwire module to translate all page fields via Fluency

ProcessTranslatePage is an extension for the Processwire module Fluency by SkyLundy so it can translate all text fields on a page at once.

As translations might take some time to proceed, PHP timeouts might occur on pages with a lot of fields and/or text. To bypass that, see the section Command line usage

Installation

  1. Download and install Fluency-Translation
  2. Configure the DeepL-API credentials and language settings
  3. Download and install ProcessTranslatePage
  4. Configure the module settings if needed
  5. Add the permission ›fluency-translate‹ to your user role
  6. Open a page, click on the arrow next to the save-button, choose ›Save + Translate‹

Settings

  • Exclude Templates
  • Overwrite existing translations

Field support

  • PageTitleLanguage
  • TextLanguage
  • TextareaLanguage
  • File (and image) descriptions
  • All the mentioned fields inside Repeater, RepeaterMatrix, FieldsetPage, Functional and Table fields

Command line usage

If you want to translate more than one page at time, you can execute the included script translate-pagetree.php in the command line to prevent timeouts. Before executing, change the variables $username, $home and $includeHidden in the script according to your needs.

Please note, this is an alpha release. Please use in production after thorough testing for your own project and create Github issues for bugs found if possible.

Comments
  • Item added to ProcessWire\InputfieldsArray is not an allowed type

    Item added to ProcessWire\InputfieldsArray is not an allowed type

    Hi there! Thanks for this module, looks very promising! Although, I have a problem after installing: "Item added to ProcessWire\InputfieldsArray is not an allowed type" Module_ TranslatePage (via Fluency) • localhost

    Did I just made some stupid error somewhere? (I have installed and configured fluency before installing ProcessTranslatePage). Processwire version is 3.0.148 and my PHP version is currently 7.4.26.

    opened by johnnydoe82 3
  • Translate from non-default language

    Translate from non-default language

    Hello once again!

    I've made this issue in Fluency repo. But it would be great to have it in ProcessTranslatePage as well. Do you think it is possible to implement?

    Thanks!

    enhancement 
    opened by ivangretsky 3
  • Translations do not seem to work in Pro Fields Combo

    Translations do not seem to work in Pro Fields Combo

    Good day!

    @robertweiss, the translation mechanism does not seem to work in Pro Fields Combo. Could you please check, if you have access to it?

    Thank you!

    opened by ivangretsky 2
  • Translate only to a certain language/languages

    Translate only to a certain language/languages

    Good day!

    On a client's site we only need to translate content to a certain languages, not all. And that differs from page to page. Could it be possible to implement an option to choose what languages the content will be translated to? As there are a bunch of people working with different languages at the same time and translating from to different languages It should be (for our case) not implemented in module config, but selected at runtime. Do you think it could be done somehow?

    enhancement 
    opened by ivangretsky 2
  • A list of fields to include/exclude

    A list of fields to include/exclude

    Good day, @robertweiss ! Thanks for a very useful module! I like a lot!

    I got some multulanguage fields that hold info that should not be translated. Like per-language phone numbers, emails etc. It would be useful to have an exclusion and/or inclusion list of fields to translate to handle this.

    Could you please look into it?

    opened by ivangretsky 2
  • Error translating pages with Repeater Matrix

    Error translating pages with Repeater Matrix

    Thanks for the wonderful module!

    I got an error translating pages with Repeater Matrix field (see the screen shot). We use it for the content builder, so it is essential. Could you please take a look at this bug, @robertweiss ?

    2022-01-11-screenshot-at--21-24-34

    opened by ivangretsky 1
  • Translate from user's current language

    Translate from user's current language

    Good day @robertweiss !

    We are using you module and are happy with it. Thank you for your work!

    I've once asked you to allow translations from non-default languages (see #3). That was a really useful feature. But we found how to improve it even more))

    Can you please consider option to translate the page not from the non-default lang set in the module settings, but rather from the user's lang? It is logical that the user's interface lang is set to the lang he fills the fields with. Therefore it turns out to be common need (at least for us) to translate everything else from that one lang.

    What do you think?

    P.S. We also have AdminOnSteroids installed that allows users to quickly change their interface lang. It would be super cool that this new feature would support that. I am ready to test))

    opened by ivangretsky 3
Owner
Robert Weiss
Robert Weiss
The best PHP library for VK Users Longpoll Api (Page Bots).

vk-page-bot-lib Description: There are 2 commands and a logger. There is a logger of new messages and a logger that a friend has entered/left in/from

KirillChimbur 6 Jul 25, 2022
PHP package for the Limg.app website - allowing to upload images via the API of the website.

Limg PHP Client Package. Installation You can install the package via composer: composer require havenstd06/limg-php-client Usage use Havenstd06\Limg\

Thomas 3 Jul 27, 2021
A library written in PHP to interact with Coinbase Pro via API.

A library written in PHP to interact with Coinbase Pro via API.

Blake Hamilton 4 Mar 31, 2022
This library allows you to quickly and easily use the Twilio SendGrid Web API v3 via PHP

This library allows you to quickly and easily use the Twilio SendGrid Web API v3 via PHP

Twilio SendGrid 1.4k Dec 27, 2022
PHP JSON-RPC 2.0 Server/Client Implementation with Automatic Client Class Generation via SMD

PHP JSON-RPC 2.0 Server/Client Implementation with Automatic Client Class Generation via SMD

Sergey Bykov 63 Feb 14, 2022
A links dashboard which can be integrated via HTML into various other systems.

quickdash Newest QuickDash version. Combines the API and Client repositories. Requirements PHP version 7.4 - https://www.php.net/ Composer - https://g

Hugo Soares 0 Aug 11, 2022
This library is for integration with Salesforce via REST API.

xsolve-pl/salesforce-client Introduction This library is for integration with Salesforce via REST API. Licence This library is under the MIT license.

Boldare / XSolve Sp. z o.o. 31 Oct 13, 2022
Notifies via Telegram when an aircraft passes over a certain area.

adsbTelegramNotifier Notifies via Telegram when an aircraft passes over a certain area. The script gets the data from an existing readsb or dump1090 i

RundesBalli 6 Dec 18, 2022
PHP module for communicating with the Veryfi OCR API

Veryfi is a php module for communicating with the Veryfi OCR API

Veryfi 9 Oct 11, 2022
🍁 Its a HoiChoi Platforn API It Will get All data in json with Streamable Links

✯ Ho!Cho! API ✯ Its a Hoichoi Platforn API It Will get All data in json with Streamable Links ?? Start This Repositry Befor Copying ?? ?? This is Just

Avishkar Patil 14 Dec 22, 2022
Embed live members' count from all your Discord server in your WordPress website

Live Members Counter For Discord This is the repository for the WordPress plugin: Live Members Counter for Discord Live Members Counter For Discord is

null 1 Oct 30, 2021
PHP Implementation of the all new Basecamp API

Basecamp SDK for PHP The Basecamp SDK for PHP enables PHP developers to easily integrate 37signals Basecamp all new API into their applications. NOTE:

Netvlies Internetdiensten 38 Feb 14, 2022
AsyncAws Core - shared classes between all AWS services. It also contains the STS client to handle authentication.

AsyncAws Core The repository contains shared classes between all AWS services. It also contains the STS client to handle authentication. Install compo

Async AWS 54 Dec 14, 2022
A Concrete CMS package to add interfaces to translate multilingual content. You can translate content manually, or use cloud API.

Concrete CMS add-on: Macareux Content Translator Concrete CMS has powerful features to manage multilingual content by its default. You can add languag

株式会社マカルーデジタル 3 Nov 28, 2022
Magento 2 Module Experius Page Not Found 404. This module saves all 404 url to a database table

Magento 2 Module Experius Page Not Found 404 This module saves all 404 urls to a database table. Adds an admin grid with 404s It includes a count so y

Experius 28 Dec 9, 2022
Glz custom fields - Unlimited Custom Fields for Textpattern

Unlimited custom fields for Textpattern This plugin sits under the Extensions tab in the back-end and gives your custom fields new life. You can final

Gerhard Lazu 21 Dec 1, 2019
Automatically translate and review your content via Lokalise

This extension will work as a bridge between Pimcore and Lokalise for the purpose of automating the whole translation workflow. Thus eliminating most of the manual steps in the task along with availing quality translation-review service from Lokalise.

Pravin chaudhary 6 Jan 10, 2022
Migrations module for ProcessWire

ProcessDbMigrate Introduction This module is designed to ease the problem of migrating database changes from one PW environment to another.

Mark Evens 9 Nov 3, 2022
Manifest is a ProcessWire module that bridges between Twig and Webpack.

Manifest is a ProcessWire module that bridges between Twig and Webpack.

Rudy Affandi 4 Nov 12, 2022
A module allowing you to write your Processwire template using MJML and get a converted HTML output using MJML API.

PageMjmlToHtml A module allowing you to write your Processwire template using MJML and get a converted HTML output using MJML API. This is considered

Romain Cazier 7 Oct 5, 2022