Title: DeMomentSomTres Language
Author: Marc Queralt i Bassa
Published: <strong>June 26, 2012</strong>
Last modified: December 24, 2024

---

Search plugins

![](https://ps.w.org/demomentsomtres-language/assets/banner-772x250.png?rev=1710418)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/demomentsomtres-language/assets/icon.svg?rev=1710418)

# DeMomentSomTres Language

 By [Marc Queralt i Bassa](https://profiles.wordpress.org/marcqueralt/)

[Download](https://downloads.wordpress.org/plugin/demomentsomtres-language.zip)

 * [Details](https://wordpress.org/plugins/demomentsomtres-language/#description)
 * [Reviews](https://wordpress.org/plugins/demomentsomtres-language/#reviews)
 *  [Installation](https://wordpress.org/plugins/demomentsomtres-language/#installation)
 * [Development](https://wordpress.org/plugins/demomentsomtres-language/#developers)

 [Support](https://wordpress.org/support/plugin/demomentsomtres-language/)

## Description

DeMomentSomTres is a brand new plugin devoted to automatically commute to user browser
language for WPML websites.

When the user lands on the initial page, the system tries to select the right language
using javascript based on WPML code.

#### Features

 * Automatic Language switching in specific pages

#### History & raison d’être

In 2011 we needed a multilanguage plugin allowing:

 * Content translation.
 * Integration with WordPress SEO by Yoast.
 * Different communication and SEO strategies based on language.
 * Automatic language selection based on browser language.

As we didn’t find it, we decided to implement it and use it.

After many years using it, we moved to Polylang and later to WPML and we stopped
using and developing this plugin.

Nowadays, we are using WPML but we like a great feature of our old plugin. Our old
plugin was able to have each language in a directory and a landing page allowing
to select the language you wanted if the system was not able to select one by itself.

So, we decided to redesign this plugin in order to provide this functionality to
WPML.

#### More information

[DeMomentSomTres Language in DeMomentSomTres.com](http://www.demomentsomtres.com/en/wordpress-plugins/demomentsomtres-language/)

#### Usage

You have to configure WPML with different folders for each language and use a folder
for the default language.

You have to define a default home page that should have all the required languages.

You MUST insert `[dms3Language]` shortcode in the default home page.

## Installation

It can be installed as any other WordPress plugin. There are not required dependencies.
However if WPML is not present, it won’t work but no error is raised.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“DeMomentSomTres Language” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Marc Queralt i Bassa ](https://profiles.wordpress.org/marcqueralt/)
 *   [ Neha Tehreem ](https://profiles.wordpress.org/nehatehreem/)

[Translate “DeMomentSomTres Language” into your language.](https://translate.wordpress.org/projects/wp-plugins/demomentsomtres-language)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/demomentsomtres-language/),
check out the [SVN repository](https://plugins.svn.wordpress.org/demomentsomtres-language/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/demomentsomtres-language/)
by [RSS](https://plugins.trac.wordpress.org/log/demomentsomtres-language/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 4.1.1

 * WP 6.7 compatibilty
 * Added admin notice: If WPML is not active, a message is shown in the admin panel
   instead of initializing the plugin.
 * Adding space after a language name.

#### 4.1

 * Improvements to be less dependent of WPML

#### 4.0

 * Plugin redefinition to provide automatic language selection in WPML home page.

#### 3.1

 * Create translations from within a post
 * Edit button to open translations in edit mode on other windows

#### 3.0

 * global options used in order to reduce database and load
 * Hreflang links added

#### 2.0.3

 * saving config problem solved.
 * Message shown in config is site is not public

#### 2.0.2

 * bug fix: Fatal Error line 1018 solved

#### 2.0.1

 * bug fix: Home links widget failure

#### 2.0

 * Code full rewrite to use classes and DeMomentSomTres Tools free plugin.
 * Site groups to allow multiple landing sites.
 * JQuery widget deprecated

#### 1.8.3

 * bug fix: wrong initial redirection if wordpress is installed in a directory different
   from root
 * Https protocol management

#### 1.8.2

 * Serbo-Croatian language added thanks to Borisa Djuraskovic from [http://www.webhostinghub.com](http://www.webhostinghub.com)

#### 1.8.1

 * Frontpage link title updated

#### 1.8

 * At frontpage automatically redirects to other frontpages.

#### 1.7

 * Additional class based on language

#### 1.6.1

 * bug: recursive redirect

#### 1.6

 * Language added after the site name in ‘My Sites’ menu.
 * ‘My Sites’ menu sort order based on settings.

#### 1.5

 * Value of blog properties public parameter is 2 in some cases. Changes in order
   to allow 2 or 1.
 * Reciprocal update active by default.

#### 1.4

 * get_blog_list() deprecated and changed by wp_get_sites() in function QuBicIdioma_obtenir_blocs().

#### 1.3

 * libraries compatibility upgrade

#### 1.2.1

 * skip some problematic redirects

#### 1.2.05

 * javascript optimization: javascript loaded only if required
 * css optimization: css loaded only if required
 * redirect errors
 * force reciprocal update on content save by default

#### 1.2.04

 * redirect landing site to default site via 301 instead of 302.

#### 1.2.03

 * post translation widget can be shown even if empty

#### 1.2.02

 * bug solved: debug info showed to solve 1.2.01 bug not removed.

#### 1.2.01

 * bug solved: when siteurl contains upper cases it started a redirection cycle.

#### 1.2

 * shortcode [DeMomentSomTres-Language class=”optional classes”] to show all translations
   of the main content.
 * widget Language: post translations
 * shortcode mode to avoid traditional filters.

#### 1.1.11

 * bug when installed in a directory instead of the root of the web.

#### 1.1.10

 * avoid showing translation on widgets calling custom types.

#### 1.1.9

 * redirect to language keeping url tail

#### 1.1.8

 * minor bugs solving

#### 1.1.7

 * Landing mode optimization

#### 1.1.6

 * Use default language prefix if none is found

#### 1.1.5

 * bug: post language selector shown even if post type is not translatable.

#### 1.1

 * Landing site mode: allows to jump to the other sites based on the browser language

#### 1.0.2

 * Duplicate ‘/’ sign in address solved

#### 1.0.1

 * Debugging mistake solved

#### 1.0

 * Added to wordpress.org subversion

#### 0.8

 * Rebranding of component to new company name: DeMomentSomTres.
 * Translate Idioma to Language.
 * Solved Warning on admin when no language is configured.

#### 0.7

 * Additional text only widget on div qibdip_Idioma_Text.

#### 0.6

 * Set reciprocal translations. From one bloc you can update all translations relationships.
   It assumes that the user is allowed to do all operations.
 * Rename of links div in post

#### 0.5

 * Page: Add fields to translation allowing to link to other translations of pages.
 * Custom posts: Add fields to translations
 * Take into account post types settings on links

#### 0.4

 * Settings: Allows to choose the post_types affected by translation. Limited functionality
   to administration.
 * Take blog status into account

#### 0.3

 * Post: Link to post translation
 * Header: Link on header to go to other site translations

#### 0.2

 * File structure change
 * Widget Language Chooser
 * Bloc change based on language

#### 0.1

 * Initial release

## Meta

 *  Version **4.1.1**
 *  Last updated **2 years ago**
 *  Active installations **40+**
 *  WordPress version ** 4.5 or higher **
 *  Tested up to **4.9.29**
 * Tags
 * [language](https://wordpress.org/plugins/tags/language/)[multilanguage](https://wordpress.org/plugins/tags/multilanguage/)
   [seo](https://wordpress.org/plugins/tags/seo/)[translate](https://wordpress.org/plugins/tags/translate/)
   [translation](https://wordpress.org/plugins/tags/translation/)
 *  [Advanced View](https://wordpress.org/plugins/demomentsomtres-language/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/demomentsomtres-language/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/demomentsomtres-language/reviews/)

## Contributors

 *   [ Marc Queralt i Bassa ](https://profiles.wordpress.org/marcqueralt/)
 *   [ Neha Tehreem ](https://profiles.wordpress.org/nehatehreem/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/demomentsomtres-language/)

## Donate

Would you like to support the advancement of this plugin?

  Donate to this plugin