Saving JSON in wrong place #72
mauro-baptista
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hi @mauro-baptista , Try the latest release and let me know if it works for you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using a lot of keys that are just texts, for instance
__('Device Count')
. This kind of translation only works with json file, but when I've tried to publish it, it saved the information inside thelang\en
directory, when it should be saved in thelang
directory.I believe we could change
src/TranslationsManager.php
in theexport
method toinstead of
$langPath = $download ? storage_path("app/translations/$locale/$file") : lang_path("$locale/$file");
.Did you had issues saving it in json?
Beta Was this translation helpful? Give feedback.
All reactions