?
avatar micker
micker
6 Jul 2018

It will be good to make easier translation with com_association
my light idea is to add a tranlation button in editing view in toolbar (only if plugin language is enable) :

  • article
  • menu
  • contact
  • module

it can launch com_associations with context variable
like
itemtype=com_content.article
id=12
for a content with id 12
the workflow can be more simplier for translation !
After maybe need to load this in same page OR in modal ...
What do think about this ?

avatar micker micker - open - 6 Jul 2018
avatar joomla-cms-bot joomla-cms-bot - change - 6 Jul 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Jul 2018
avatar micker micker - change - 6 Jul 2018
The description was changed
avatar micker micker - edited - 6 Jul 2018
avatar micker micker - change - 6 Jul 2018
The description was changed
avatar micker micker - edited - 6 Jul 2018
avatar micker micker - change - 6 Jul 2018
The description was changed
avatar micker micker - edited - 6 Jul 2018
avatar brianteeman brianteeman - change - 6 Jul 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-07-06 09:54:01
Closed_By brianteeman
avatar brianteeman brianteeman - close - 6 Jul 2018
avatar infograf768
infograf768 - comment - 6 Jul 2018

This proposal is quite different from the GSOC project where the matter (for which I posted some comments) is to create automatically some associations WITHOUT taking into account the translation (when a translation is necessary) of the item itself.

As far as I understand the original post here, the proposal by the user is to create a direct link to com_associations with the item already chosen through a toolbar button.

avatar micker
micker - comment - 6 Jul 2018

yes that it for me 3 interesting point

  • translation workflow will be smooth
  • encourage user to use association
  • not realy a big coding feature (but i am a prorammer lol)

we have com_association but no link between content type and this tool no sense
for now using com_ association is
go out content type (that no sense) >extension > com_asso > select type > select language ... (5 step)
with this button
content type > com_asso > select language (3 step)

avatar brianteeman brianteeman - change - 6 Jul 2018
Status Closed New
Closed_Date 2018-07-06 09:54:01
Closed_By brianteeman
avatar brianteeman brianteeman - reopen - 6 Jul 2018
avatar micker
micker - comment - 6 Jul 2018

thanks @brianteeman

avatar infograf768
infograf768 - comment - 6 Jul 2018

@micker
This is imho what is possible in a simple way.
Let's say we have an article with id 1.
We need to directly link to com_associations side to side page.
Therefore we need a link of the type
administrator/index.php?option=com_associations&view=association&layout=edit&itemtype=com_content.article&task=association.edit&id=1

This will give
screen shot 2018-07-06 at 12 19 48

Then, it is just a matter of Selecting the target language(s). If an association already exists, then it will load; if not, the frame will be ready to create the item in the language desired.

Until then, no big deal.
Multilang should be enabled as well as associations AND com_associations
we have to fetch the id.
One aspect has also to be checked: the item must be tagged to a specific content language and not ALL languages.
We could do that also and throw an error if not done (in the same way as in the Associations tab).

Remain the UI: should it be a toolbar button or a specific button in the Associations Tab?

avatar infograf768
infograf768 - comment - 6 Jul 2018

Obviously the same can be done for each component where associations are implemented.
I like the idea.

avatar infograf768
infograf768 - comment - 6 Jul 2018

@micker
Do you want me to have a try at it?

avatar micker
micker - comment - 6 Jul 2018

oh yes i think it will be good (i am french user we can speak about in private)
i think a button in tool bar will be more visible and understandable for end-user like "Edit translation"
after need to choose changing page or open modal ... not sure about this

avatar infograf768
infograf768 - comment - 6 Jul 2018

Forget "Edit Translation(s). ?
Associated items are not specifically translations, they can be anything which content is unrelated to the original.
maybe Edit Associations

As for a redirect, once we are in com_associations, we have direct access to all possible item types associations. Therefore it is not needed to redirect to anything imho.

avatar micker
micker - comment - 6 Jul 2018

yes

avatar infograf768
infograf768 - comment - 6 Jul 2018

Ok. I will contact some maintainers and ask them if this feature would be accepted before even coding it, so I don't lose time.
Will let you know.

avatar micker
micker - comment - 6 Jul 2018

yep !
thanks

avatar rdeutz
rdeutz - comment - 6 Jul 2018

I think it is a goog idea @mbabker and @wilsonge what do you think?

avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Jul 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Jul 2018
Category com_associations Feature Request
avatar Bakual
Bakual - comment - 7 Jul 2018

I don't see a reason against this idea. So imho goahead.

avatar infograf768
infograf768 - comment - 7 Jul 2018

Thanks. Working on it now.

avatar infograf768
infograf768 - comment - 8 Jul 2018

I have a working patch. already done for articles and categories.
Just waiting for @Bakual code check.

avatar infograf768
infograf768 - comment - 9 Jul 2018

@micker Please test #21022

avatar infograf768 infograf768 - change - 9 Jul 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-07-09 10:11:37
Closed_By infograf768
avatar infograf768 infograf768 - close - 9 Jul 2018

Add a Comment

Login with GitHub to post a comment