I am using Laravel 5.4.32 on Windows 10 (I know, I know... :P)
I use "en.json" as language files look like that:
{
"Title 1": "Here is the first title!",
"p 1": "The first text",
"p 2": "Another text"
}
The problem is... I want to change only the text "The first text" by using an ajax request.
After that, I would like to save the file with the new text inside but within the same format. Nothing (except the text I want) can change in this file because I have to read it later.
Someone can help me please? What is the best Laravel (or just Ajax/Php) method to do that?
If you need more informations, just tell it me please. :)
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2izgthG
via IFTTT
Aucun commentaire:
Enregistrer un commentaire