[THEME] Language file overrides

Post Reply
oaviv
Jr. Bludit
Posts: 1
Joined: Sun Jan 15, 2017 12:04 pm

Hi all,

I've been testing with several flat-file CMSs lately and Bludit is the right one for me. I like it a lot.
Still, I may be missing something, but I don't understand what the [THEME NAME]/languages/LANG_FILE.json actually does apart from setting the theme name and description.

I'm looking to override some of the strings from the default language files located at /languages/ but without modifying the default files. is that achievable with the theme's language file?
I've created a file in [THEME NAME]/languages/ and renamed it to he_IL.json, but it does not seem to do anything...
Help would be greatly appreciated!
Thanks.
User avatar
amr
Master Bludit
Posts: 56
Joined: Fri Apr 22, 2016 8:36 am
Location: Egypt
Contact:

create a new dir in your theme folder , for example my-theme
create a text file and save as metadata.json
json details :

Code: Select all

{
	"author": "your name",
	"email": "your email",
	"website": "your website if needed to update the theme if its vail , leave blank if you dun wanna add",
	"version": "1.4 or any , its the version of the theme",
	"releaseDate": "2012-05-20 date of creation the theme , any date works",
	"license": "if you have or leave it as CCA 3.0",
	"compatible": "1.5.2 its the most important part , the compatibility for bludit current version so 1.5.2 is the latest version ",
	"notes": "if you have any"
}
this is the way to define the theme so it can appear in the theme url
you can understand the usage in the core/json
Post Reply