Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
168 views
in Q2A Core by
I'm developing a new page as an add-on function for my q2a site. So I want to create a new language definition file like qa-lang-question.php... (It is possible to insert new entry to exsiting qa-lang-question.php, but I prefer to creating a new one).

How can i do this?

tks.

1 Answer

0 votes
by

You can add any qa-lang-XYZ.php file alongside the others, either in qa-include or in a language directory, and then access it using qa_lang() (and its associated functions) in the normal way. In the parameter you pass to qa_lang(), the word before the slash should match XYZ in the file name.

...