Second-level directory is multilingual, how to add lang to href link

multilingual secondary directory, http://xx.com/lang link , How to automatically add lang, to the link address of the page, such as http://xx.com/lang/xxx


you can write a js script in the root directory index.html and jump to the directory based on lang.


should be a table lookup operation, where language attributes correspond to a set of link addresses, attribute data that displays character information, and then processed as link information.

Menu