Retrieve all translations provided by plugin

Inside a plugin, is it possible to retrieve all translations provided by that specific plugin?

This works to get the translations array:

<?php dump($kirby->plugin('yourname/yourplugin')->extends()['translations'] )?>
1 Like

Thank you so much!

FWIW: The extends() method returns an array of all extensions, might be interesting for a quick view of what gets extended in a plugin, or just the keys:

<?php dump(array_keys($kirby->plugin('yourname/yourplugin')->extends()))?>
1 Like

Cool, thanks for all your support here!