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.

mqtranslate langcode widget selector

ਵੇਰਵਾ

Extension of the mqtranslate plugin that creates a widget that displays a language selector with language codes. For example, if you have got a site in 3 different
languages (Deutsch, english, spanish), the widget will display: de | en | es

The plugin is compatible with Qtrasnlate Slug {qts}.

It also has got the following filters:

  • ‘lang-code-selector-content’ => This filter allows alter the content of each idiom.

Arbitrary section

ਸਥਾਪਤੀਕਰਨ

  • Install plugin either via the WordPress.org plugin directory, or by uploading the files to your server.
  • Activate the module.

ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ

How can i change the content of the switcher?

Yes. It’s posible change the content of the selector. You only have to add a filter in the functions.php in your theme or add the code in yoyr custom plugin.

For example:

add_filter( ‘lang-code-selector-content’, ‘test_lang_code_selector_content’ );

function test_lang_code_selector_content( $lang_code ){
global $q_config;
$link_flag_url = dirname(plugins_url()) . ‘/’ . $q_config[‘flag_location’] . $q_config[‘flag’][$lang_code];
$link_flag = “”;
return $lang_code . $link_flag ;
}

How do i contribute to this plugin?

I’ve open a project in my github profile. Feel free to fork and change the code.

ਸਮੀਖਿਆਵਾਂ

There are no reviews for this plugin.

ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

“mqtranslate langcode widget selector” is open source software. The following people have contributed to this plugin.

ਯੋਗਦਾਨੀ

“mqtranslate langcode widget selector” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।

ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

ਤਬਦੀਲੀ-ਚਿੱਠਾ

1.0

  • Compatibylity with qransalte slug
  • Added filter: ‘lang-code-selector-content’
  • Realeased plugin.