0
I finished a course site these days, and one of the requirements was to have support for at least 3 languages, after searching a while I saw that a very recommended method was to create the same array in separate files, same keys, changing only the value of each key, and give the include depending on the selected language (I cookie).
My question is, was that really the best method? My project was not there this giant monster, but it gave a tiring call every word or phrase as array in every file of it.
There is no specific solution that is "the right one" because the best way depends on the project. That’s why the closing vote is "based on opinion".
– Daniel Omine
@Danielomine is right, everything will depend on how the project will be forwarded, many frameworks have libraries, or even own procedures to internationalize the sites.
– FabianoLothor