Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefferson49 authored May 1, 2022
1 parent 882f347 commit 312afda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ChangeLanguageWithURL
A [weebtrees](https://webtrees.net) 2.0 middleware module to change the webtrees language by URL requests with the language provided as an URL parameter.
A [weebtrees](https://webtrees.net) 2.0/2.1 middleware module to change the webtrees language by URL requests with the language provided as an URL parameter.

The module is especially useful if webtrees is integrated into a content management system (e.g. [joomla](https://www.joomla.org) ) and the languages need to be aligned between the CMS and webtrees. The purpose of the module is to handover the CMS language to webtrees, using a specific URL parameter. If the module receives the URL parameter, the language in webtrees is changed accordingly.

**Example URL:**
http://SOME_URL/webtrees/index.php?route=SOME_ROUTE&language=LANGUAGE_CODE

The module was developed and tested with [webtrees 2.0.19](https://webtrees.net/download)
The module was developed and tested with webtrees 2.0.19, but also works with later [2.0 and 2.1 versions](https://webtrees.net/download).

0 comments on commit 312afda

Please sign in to comment.