From your experience, is it better to use a single language file or several smaller langauge files for each language in a PHP project using the gettext extension? I’m not even sure if it is possible to use several files, it’s difficult for me to test, since the server caches language files.
I deal with several languages on a social networking site, so far only a registration page, which is about 1 out of 200 pages, and it has 35 text lines for translation, so the language file for each language will be really big, so I thought maybe perhaps it would be better to make different language files for different pages or perhaps sections, such as section sections of sections of sections and sections of a blog, but if it does not matter, I would not waste time creating several smaller files for each language,
I understand that each situation is different, and the only real answer is to check it out, but I hope to avoid it this time and just get some opponents of people more experienced, this is my first time using gettext, thanks
source
share