I have a custom module, already running for a longer while, but I did not take into account that the configuration would have to support translation. I have had no config/schema/module_name.schema.yml file at the time of installation.
I created the schema file, looked into implementing hook_update()
. I was just about to start implementing it, but I checked the output of \Drupal::service('config.typed')->getDefinition(DrupalHooks::CONFIG_KEY);
just in case. The schema file was automagically absorbed by either drush cr
, or loaded by the code snippet itself.
I don't find my module listed on the admin/config/regional/config-translation page. Also, the other modules shown in that list seem to always have a Translate tab on their configuration page. My module doesn't get that either.
What am I supposed to do to make it translatable? Is there any hook I should implement, or am I missing something else?