Code Monkey home page Code Monkey logo

en-ar-demo's Introduction

Multilingual Static Website Project

Welcome to the Multilingual Static Website Project! This repository showcases the implementation of a multilingual static website using HTML, CSS, and JavaScript. The project focuses on providing a seamless language-switching experience for users, catering to a global audience.

Project Structure

The project is structured as follows:

  • index.html: The main HTML file containing the website's structure and content.
  • assets/:
    • css/: Contains the main stylesheet (style.css) and language-specific styles (style-ar.css, etc.).
    • js/: Holds the JavaScript files, including the main script (script.js) for language switching and content updates.
  • languages/: Houses JSON files (en.json, ar.json, etc.) containing translations for different languages.
  • README.md: You're reading it! This file provides an overview of the project and instructions for usage.

Getting Started

  1. Clone the repository: git clone https://github.com/nohaelgendy/en-ar-demo.git
  2. Open the project in a code editor of your choice.
  3. Customize the HTML structure, styles, and content to match your website's theme.
  4. Update the JSON files in the languages/ directory with your own translations.
  5. Experiment with the JavaScript code in script.js to enhance functionality as needed.

Usage

To view your website locally, open index.html using the "live server" extension. You'll be able to switch between languages using the language options in the navigation bar.

Contributing

Contributions to the project are welcome! If you find a bug, have an enhancement idea, or want to add new features, feel free to submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgments

A big thank you to the open-source community for their invaluable resources and tutorials that contributed to the development of this project.

Happy coding!

en-ar-demo's People

Contributors

nohaelgendy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.