We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

how to log when language is changed | Forum

Seyed
Seyed Apr 18 '16

Hi

Does anybody know how to log in a file, say mylogs.txt, whenever a user switches the language. For example:


ENGLISH May-1-2016 2:00 pm

RUSSIAN April-1-2016  10:am

...


Thanks very much.

Oxwall Tips
Oxwall Tips Apr 18 '16
Are you trying to find out how many users are using which language ?
Seyed
Seyed Apr 18 '16

Hi,

Well, it can have many applications including that. The code itself should not be too much and simply adds a row to a log file. May I ask in which file I should add the required code?

Thanks.

ross Team
ross Apr 18 '16
Topic was moved from General Questions.