Welcome Guest, Not a member yet? Register   Sign In
Heavy (large) language files
#1

[eluser]smilie[/eluser]
Hi all,

I have an question in regard to language files in CI.

At this moment I have done about ~10% of language translations and my language file already has about 140 lines. When I am done with it, it will be 1000+ lines.

What is better practice then:
- load once 1 large language file;
- load many smaller files;

This purely in regard to performance, I do not mind if they are all in 1 or many files (all variables have prefixes, so it's not a problem).

Finally, server where this will be installed will have sufficient RAM (16 GB) - so I do not expect that to be problem as well. Will probably install memcache or similar as well to even help more.

Any thoughts?

Cheers,
Smilie




Theme © iAndrew 2016 - Forum software by © MyBB