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

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.

FAQ

Installation Instructions

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.

Contributors & Developers

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

Contributors

Changelog

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

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