hook_config_translation_info and hook_config_translation_info_alter() reference *.configuration_translation.yml files, but the file name format should be *.config_translation.yml. This is a minor documentation bug that may confuse some people.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | drupal_2140803_1.patch | 1.36 KB | xano |
Comments
Comment #1
xanoComment #2
jhodgdonThis does not look correct to me.
I'm seeing files with names like config_translation.local_tasks.yml, config_translation.routing.yml, etc. They are not *.config_translation.yml. Or am I missing something?
Oh, I see, those are the ones in config_translation module. Then there is system.config_translation.yml.
What's the difference, and why are the naming conventions different?
Comment #3
xanoconfig_translation.local_tasks.ymlis a*.local_tasks.ymlfile, and that type is defined by other parts of core.*.config_translation.ymlis a type of file defined by config_translation that can be implemented by other modules. However, that's not the problem. The problem is that there is no configuration_translation, but we only ever use config_translation.Comment #4
jhodgdonGot it. Patch looks fine and I'll get it committed sometime soon.
Comment #5
webchickLooking for easy pickin's tonight, so yoink! :)
Committed and pushed to 8.x. Thanks!
Comment #6
gábor hojtsygood catch, thanks!