Skip to content

Static and dynamic hybrid web project multi-language framework

License

Notifications You must be signed in to change notification settings

Jimmy-Effe/JnEMtLF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JnEMtLF

Static and dynamic hybrid web project multi-language framework

Introduction

This project is suitable for pure native web projects, and the backend is php.

Instructions

  • Please make sure you have a PHP environment
  • Add the data-mess attribute to HTML tags that require multiple languages
  • Name the tag in the data-mess attribute
  • Create the language content corresponding to the tag in the JSON file
  • For dynamic content, please ensure that the final output content of PHP is text attribute

How to use files

  • Download the code of this project
  • index.php is the entry point of the project
  • Activate the function by selecting the language button after running (note that the default language is English

Tips from developers

  • It is recommended that the language files should be kept consistent regardless of the language.
  • Don't use long names in data-mess

About

Static and dynamic hybrid web project multi-language framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published