MohmmedAshraf / laravel-translations

Laravel Translations UI package provides a user-friendly interface for managing translations in your Laravel application. It simplifies tasks such as adding, editing, deleting, and exporting translations. The package also includes a handy search feature and the ability to invite collaborators for easy translation management
MIT License
648 stars 91 forks source link

Bug: Required parameters are missing #48

Closed raonikhil closed 10 months ago

raonikhil commented 10 months ago

Version: "outhebox/laravel-translations": "^0.1.2"

Can you please help me with this?

MyVdwLease 2024-01-10 21-33-50
Perzonallica commented 10 months ago

Same issue here. I have the 0.1.2 version.

Perzonallica commented 10 months ago

Try this:

  1. Open file on line vendor/outhebox/laravel-translations/src/Livewire/PhraseForm.php:70
  2. Change the line to this: if (! str_contains($this->phrase->source->value, ":$parameter")) {

Originally it was: $this->phrase->value, however it returns null

raonikhil commented 10 months ago

thank you, this worked, waiting for this to be updated in the package itself so I can use it on production as well

MohmmedAshraf commented 10 months ago

Hi @raonikhil,

Just wanted to let you know that a significant update is on the way, and it will address all the issues, also with many new features as well.

Thanks a lot for your patience!

MohmmedAshraf commented 10 months ago

Kindly upgrade to the newest version and carefully review the installation instructions, as this release involves completely different versions.