2020-12-03, 10:59 PM
(This post was last modified: 2020-12-05, 02:44 PM by GodLess101. Edited 2 times in total.
Edit Reason: fixes
)
Alright, so I spent today doing a rough version of a JSON object containing all of the MyBB Language Files (And their content).
What is missing?
The JSON includes the admin files.
You can find it here:
http://mathiasm.com/mybb_language.json
The objects are, respectively, inside "/" and "/admin/", which is the file path where the files are. Alle objects imitating a language file, includes location (Ironically the same?) and a variables object which holds all the key->value pairs of the MyBB language variable -> English Value. I created it like this because I have an intention to use it in this format, I'm in no way pro at creating or using JSON, this is probably going to be the first and only time I ever create a JSON object with more than 5k lines.. ouch.
I really don't think it will be of use to any person on here, but felt like what the heck, spent a good amount of time reformatting the 100 files. I am trying to develop a simple interface that allows users to create their own translations and publish them on a shared library for other users. (Download will export it to the necessary files and format).
If I ever finish it, I will share the website here so that everyone can benefit. At the moment it's a rough sketch, and I've only just finished the initial design. And honestly, now that I look at the idea I can't really see how this will actually be easier since it's unimaginably close to just manually editing all the files, this time it's just text inputs instead.
Well, at least it is good for training my PHP file handling...
Happy MyBB folks, good luck with your translations.
What is missing?
- customhelpdocs.lang.php and customhelpsections.lang.php are not included (They are by default 'empty')
The JSON includes the admin files.
You can find it here:
http://mathiasm.com/mybb_language.json
The objects are, respectively, inside "/" and "/admin/", which is the file path where the files are. Alle objects imitating a language file, includes location (Ironically the same?) and a variables object which holds all the key->value pairs of the MyBB language variable -> English Value. I created it like this because I have an intention to use it in this format, I'm in no way pro at creating or using JSON, this is probably going to be the first and only time I ever create a JSON object with more than 5k lines.. ouch.
I really don't think it will be of use to any person on here, but felt like what the heck, spent a good amount of time reformatting the 100 files. I am trying to develop a simple interface that allows users to create their own translations and publish them on a shared library for other users. (Download will export it to the necessary files and format).
If I ever finish it, I will share the website here so that everyone can benefit. At the moment it's a rough sketch, and I've only just finished the initial design. And honestly, now that I look at the idea I can't really see how this will actually be easier since it's unimaginably close to just manually editing all the files, this time it's just text inputs instead.
Well, at least it is good for training my PHP file handling...
Happy MyBB folks, good luck with your translations.