potsky / laravel-localization-helpers

🎌 Artisan commands to generate and update lang files automatically
GNU General Public License v3.0
187 stars 38 forks source link

File format compatibility with Transifex #43

Open alariva opened 7 years ago

alariva commented 7 years ago

Hi @potsky ,

I was wondering if the helpers would generate Transifex-compatible files (not a privative format, but they require certain syntax specifications).

I've used the helpers from the very beginning to generate my base lang files, and since I'm willing to use Transifex for the child lang branches, I'm handling this task to see if a file syntax conversion is worth.

Unfortunately, I don't feel the current lang taxonomy I'm using is actualy good (I feel I currently got too many nested array levels) (my research on this), but I'm either willing to use a big flat array file, and here comes laravel-localization-helpers into play.

Recap: I'd like to use laravel-localization-helpers for generating a base lang file from views that can easily be ported to Transifex for the child lang branches. (Yes, maybe I'm willing to regenerate all my files over)

I appreciate your comments and alternative ideas if any!!! :)