How to do the dynamic content of multilingual websites?

now we are going to do a trilingual website in Chinese, English and Japanese (pc and mobile phone at both ends), with PHP, in the background. We are both beginners.
I"m going to use vue + vue-i18n to do it. What I"ve learned is that different languages need to create a corresponding JSON file or JS file. My question is, if it"s dynamic content, such as news, something edited by the background, how to change the content in the corresponding JSON file or JS file? Is it possible that all data requests are written in those files?

Apr.28,2021

this.$i18n.locale initiates different requests with different language identifiers, for example, English: http://xxx.com/foo?lang=en, Chinese: http://xxx.com/foo?lang=cn

Menu