Hello everybody,
as the title is saying i want to overwrite some lang classes.
The plan is to archive costume translation based on a route parameter.
For example in the rout parameter is passed an id of a project, then i want to load the default lang folder en/de or what ever.
After that has happened i want to check if there is another class with the same name inside a customization/projectID/lang/en folder.
If there is found one i want to overwrite the default one.
For example there is in the default one :
'id' => 'ID'
'example' => 'example'
And in the one inside the customization folder :
'id' => 'critical ID'
I want to get the 'critical ID' when i use 'id' inside the blade but still want to be able to use the 'example' from the default.
If anyone has an idea or experience with something like that please share it with me.