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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40873-2c524.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40873-2c524.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?