? ?
avatar brianteeman
brianteeman
23 Aug 2018

Surprised its not been mentioned before but the workflows are not translatable. So this means that in the article list for example we have english even if the site is in french. Remember that the word "published" in this screenshot is the name of the stage not the actual status - they just happen to be the same in this example

image

avatar brianteeman brianteeman - open - 23 Aug 2018
avatar joomla-cms-bot joomla-cms-bot - change - 23 Aug 2018
Labels Added: J4 Issue ? ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Aug 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Aug 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Aug 2018
Category com_workflow Multilanguage
avatar ot2sen
ot2sen - comment - 23 Aug 2018

Do the French temporary language pack have these strings yet, or might it just be fall back to English when those are not available?

avatar brianteeman
brianteeman - comment - 23 Aug 2018

If only it was that simple. What is being displayed here is the value of a field. So it can be whatever you want it to be - it just can't be translated
<?php echo $this->escape($item->stage_title); ?>

avatar infograf768
infograf768 - comment - 23 Aug 2018

I have already discussed that with @bembelimen

There is a first patch here to test:
#21506

Then some more will come. Basically it will work like custom admin menu items where the title is displayed through Text::_(). Some strings obviously already exist (JPUBLISHED, JTRASHED, JUNPUBLISHED, JARCHIVED) other will come from workflow ini, custom ones will need users to create strings for their custom workflows.

avatar infograf768
infograf768 - comment - 23 Aug 2018

Do the French temporary language pack have these strings yet, or might it just be fall back to English when those are not available?

we do not have French or German or Persian temporary languages.
We are using for now the packs from 3.x

So, the strings above already exist in these packs, but not the new strings from com_workflow

And yes, new ones will be replaced for the moment (after future patches) by English when not present in these lang packs.
Below example for the action Publish, etc.
screen shot 2018-08-23 at 17 47 50

avatar brianteeman brianteeman - change - 23 Aug 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-08-23 16:30:23
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 23 Aug 2018

Closed as duplicate

avatar brianteeman brianteeman - close - 23 Aug 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Apr 2019
Labels Added: ?
Removed: J4 Issue ?
avatar franz-wohlkoenig franz-wohlkoenig - unlabeled - 20 Apr 2019

Add a Comment

Login with GitHub to post a comment