Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
plugin system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2015 at 11:50 UTC
Updated:
13 Dec 2015 at 22:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alexpottComment #2
dawehnerOne part of it: #2539106: Ensure that the labels in ViewsEntityRow appear in the right language
Comment #3
alexpottThis is going to be hard.
There are things I don't know how to fix. BlockConent::getDerivativeDefinitions() for example.
This means that in the block admin ui it won't use a french content block title for the admin label if english has been viewed first - because the admin_label is cached in the plugin definition.
I've tried to highlight where I think we have difficulties with @todo's.
Comment #4
dawehnerMhh tricky is real life.
mhhh tricky one ... given that bundles are coming from config entities .. in order words this is an examples where the information is better cached per langcode
so this would be content entity translated, mhhh
Form mode is again coming from a config entity
Comment #8
xano#2633878: Finalize cacheability for plugins supports this.
Comment #9
berdirThis might be a won't fix/duplicate now?
t() always returns a translation wrapper, nothing is translated until it's actually printed now.
Comment #10
xanoAh, of course :)