I need to translate our site. First to one language, but i think later will be more other languages. So I'm thinking about the best way to do this.
So I will use subdirectories to hold the html files. The common files like images, JS etc, will common... I will make language files and include it front of files. I have 25 html files. I will use variables (or constants) in the language file, for everything in the html files like:
- the text
- the images alt tag
- meta key, meta description, so all meta tags..
- menu..everything
The 25 html files combined size is less than 300k. So the language file will be maximum 100k.
I don't know if I use one big language file and simple include every file (and I don't care if not use every variable in each page), or use 25 separated language file. Is this matter?
Will this language file method, effect the performance, the SEO, or anything else?