amiranagram / localizator

Scan your Laravel project and generate language files ready to translate in language(s) of choosing.
Other
229 stars 29 forks source link

Ignore dot separated word/acronym #54

Open wtfz opened 1 year ago

wtfz commented 1 year ago

Hi. I have encoutered an issue with dot separated word/acronym. For example, @lang('F.A.Q') will generate a F.php file.

/* F.php */

<?php

return [
    'A' => [
        'Q' => '',
    ],
];

Since Laravel use dot syntax to map the language files. How do I ignore this specific word from being outputted as a file?