$translation->toArray()
Converts the most important properties to an array
$translation->toArray(): array{code: string, data: array, name: string, author: string}
Return type
array{code: string, data: array<string, mixed>, name: string, author: string}