Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork with up to date MS translator support, PHP 8 and Laravel 8/9 support #74

Open
schniper opened this issue Oct 13, 2022 · 0 comments

Comments

@schniper
Copy link

Hi,

First of all, many thanks to Potsky for his great work - I have used this library on a number of projects, back in the day.
Recently I needed to use it again and ran into the current compatibility issues. As the repo seems more or less abandoned, I have created a fork with the following features:

  • PHP 8 support
  • Laravel 8/9 support
  • Up to date MS translator support based on client_key access
  • Integrated MS translator into the library, instead of keeping a dependency to the other not-so-updated one
  • Made translator not translate :name parameters
  • Do not add TODO prefixes to phrases in the fallback language; just to the others

Think there might be a few other changes in there.
For simplicity, I have renamed the namespace and temporarily removed the tests part.
I plan to use this for my own projects, but if anyone wants to take a peek or maybe if there is a chance to update this library with some of the changes, you are welcome to it.

Once again, thank you for what seems to be a way underrated project.

https://github.com/schniper/laravel-localization-helpers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant