Closed (fixed)
Project:
Translation Management Tool
Version:
8.x-1.x-dev
Component:
Source: Configuration
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2015 at 12:26 UTC
Updated:
20 Dec 2015 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sasanikolic commentedAdded the dependency to paragraphs_demo and the configuration for enabling paragraph translation.
Comment #3
sasanikolic commentedRemoved the dependency and the config files into the paragraph patch. #2461689: demo module: Multilingual setup
Comment #4
sasanikolic commentedComment #7
arla commentedI am not very well introduced with TMGMT but let me just add a few review comments here :)
Accidental removal of newline. You may want to configure your IDE to always add newline. In PhpStorm: Preferences/Editor/General/"Ensure newline at file end on Save".
This file may be unnecessary? Or maybe should be provided by tmgmt_content rather than tmgmt_demo?
Comment #8
sasanikolic commentedThanks for the review!
Comment #9
sasanikolic commentedAnother empty line...
Comment #10
miro_dietikerTMGMT should get a commend in the README about support for paragraphs_demo. Explain how to setup. Example: First setup paragraphs_demo module, then tmgmt_demo
I still like to have paragraphs_demo part of simplytest dependencies.
The problem with the patch above: When visiting admin/config/regional/tmgmt_settings the paragraphs field does not show up.
Also you might need to check for the field existence before setting it to translatable.
Looks like the setup is incomplete.
Comment #11
sasanikolic commentedAdded a few lines to the README file and added the simplytest dependency. I spoke with Berdir about it and tested simplytest, but it is not supported for Drupal 8 yet.
The paragraphs field shows up correctly for me. I have this patch applied. See the attached screenshot.
Also discussed with Berdir about checking for the field and decided that this check is not needed. Even if the field gets deleted after the module is enabled, It does not break anything...
Comment #12
miro_dietikerI forgot the paragraphs_demo is not yet multilingual. So let's push that forward ASAP first... :-)
Comment #15
joshi.rohit100Re-rolled the #11
Comment #17
berdirTested on simplytest.me, works great. Committed.