Coder Social home page Coder Social logo

anglophy.js's Introduction

Anglophy.js

Anglophy.js is a small script to translate websites from American English to British English (or the other way around).

Requirements

Anglophy.js requires jQuery

Usage

To use anglophy.js, simply include the script after jquery and add the url parameter ?en=uk

example.com?en=uk

Similarly, if you'd like to translate in the opposite direction, from British English to American English, simply use the url parameter ?en=us or, if you are feeling particularly cheeky (hi @imyke), you can use ?en=simplified

example.com?en=us

Changes only occur on text elements so your class names and styles are safe.

Contributing

The list of current phrases can be found here. Did I miss something that should be translated? Help add to the list. You can contribute in three ways:

  • Fork this repo and submit a pull request
  • Submit the edit directly to the phrases file here on github
  • Open an issue requesting the word or phrase that you think should be added

Version

  • Version 1.0

Contact

Chip chip, cheerio!

anglophy.js's People

Contributors

bryanstedman avatar

Watchers

 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.