Does translations -> export work for you?

  • Export fails with 'Array to string conversion' exceptions.

    The underlying issue is that there are a few language resource files with empty arrays. For example:
    'attributes' => [],

    Empty arrays are not particularly handled with the Laravel array_dot helper function which is used in the translations module. It just sets the value to an empty array, which then fails with the exception above.

    Sure I can fix the problem myself just by commenting or deleting those empty arrays, but the functionality does not work out of the box.

  • admin


    Thanks for noticing the issue, I will look into it asap. :)

  • admin

    This was fixed in the following PR:

Log in to reply

Looks like your connection to AsgardCms was lost, please wait while we try to reconnect.