Some problem issues with the package after installation and testing... #154
Unanswered
sergeynilov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
Thanks for your job!
In laravel 10 app I have installed outhebox/laravel-translations ^1.2 package. After some testing I found some issues I would like to ask about :
On publishing of modefied keys/label I see in git status that all files inside of resources/lang are updated. But I updated only 2 or 3 files.
Is it possible to updated only files I modified since last import ?
I have "en" as source language and I opened "es" language and tried to edit text at right editor of one of the keys,
but clicking on "SAVE TRANSLATION" button I got error:
Stichoza\GoogleTranslate\GoogleTranslate::translate(): Argument Language with code not found #1 ($string) must be of type string, null given,
called in /var/www/html/vendor/outhebox/laravel-translations/src/Http/Controllers/PhraseController.php on line 96
a) I wonder why GoogleTranslate is called as I filled text manually and I did not call any automatic translation like GoogleTranslate?
b) Do I need some GoogleTranslate key ? I did not find any notice at https://github.com/Stichoza/google-translate-php ?
I do not got this error on any save, but periodically...
https://img001.prntscr.com/file/img001/Uki-VKO5QpGQEXdi15nkyw.png
I enter some text and click "SAVE TRANSLATION" button. Data are saved, but in left editor I see old text - the same I have before I started editing.
Refreshing page I see new entered value.
https://img001.prntscr.com/file/img001/zxd1syBJTeSI_UsnIfwN4g.png
I see a lot of found string for some commonly phrases. I would like to add one more column "Source file". That could be helpfull for user to find key he searches.
After publishing page with modal dialog and notification message all elements of the page can not be selected. But as my app is in debug mode I can
show/hide debugbar panel - it is selectable. I use chrome under my kubuntu 22.04. After refreshing of the page the page is normally selected.
Opening label editor (source or additive languages) there are no links to the same key/filename in other languages. But I would like to have them.
Beta Was this translation helpful? Give feedback.
All reactions