Title: Dynamic MO Loader
Author: Generaxion
Published: <strong>30. juli, 2019</strong>
Last modified: 21. november, 2019

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/dynamic-mo-loader/assets/icon-256x256.png?rev=2130572)

# Dynamic MO Loader

 Af [Generaxion](https://profiles.wordpress.org/aucor/)

[Download](https://downloads.wordpress.org/plugin/dynamic-mo-loader.zip)

 * [Detaljer](https://da.wordpress.org/plugins/dynamic-mo-loader/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/dynamic-mo-loader/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/dynamic-mo-loader/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/dynamic-mo-loader/#developers)

 [Support](https://wordpress.org/support/plugin/dynamic-mo-loader/)

## Beskrivelse

Changing the WordPress site language to any other than English slows down page generation
times. A lot. This is caused by the slow and inefficient way of text domain loading.
This plugin, based on the excellent work by Björn Ahrens, aims to fix that by loading
only the text domains that are used in a page and even more, by caching them.
 PO
and MO files are designed to be used with PHP Gettext-extension. But since it\’s
an extension, it\’s not installed by default on all hosting platforms. To overcome
this barrier, WordPress has re-implemented the whole MO file parsing in PHP completely
ignoring the possibility to use native gettext, if available. This WordPress\’ implementation
is a bit slow. This plugin has another implementation of MO parsing, which is faster
than the default one. The plugin also loads only the text domains that are required
to generate the current page instead the default behavior of loading every available
text domain. As front end pages usually only use strings from few text domains, 
this leads to a great performance boost in front end. To boost the performance even
more, the plugin also caches the loaded text domains in to the object cache. For
optimal performance you need a fast object cache backend like Redis, Memcached or
APC(u).

#### Links

 * [GitHub](https://github.com/aucor/dynamic-mo-loader)

## Installation

Download and activate. That\’s it.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Dynamic MO Loader” er open source-software. Følgende personer har bidraget til 
dette plugin.

Bidragsydere

 *   [ Generaxion ](https://profiles.wordpress.org/aucor/)

[Oversæt “Dynamic MO Loader” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/dynamic-mo-loader)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/dynamic-mo-loader/),
tjek [SVN repository](https://plugins.svn.wordpress.org/dynamic-mo-loader/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/dynamic-mo-loader/)
via [RSS](https://plugins.trac.wordpress.org/log/dynamic-mo-loader/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.4.1

 * inc/mo_dynamic.php revert

#### 1.4.0

 * bugfix for plural translation

#### 1.3.0

 * unique function names, sanitized current_url and bugfix for translate function
   concatenating string with zero

#### 1.2.0

 * WordPress.org release

## Meta

 *  Version **1.4.1**
 *  Senest opdateret **7 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 4.7.3 eller højere **
 *  Testet op til **5.2.24**
 *  PHP-version ** 7.0 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/dynamic-mo-loader/)
 * Tags
 * [rest-api](https://da.wordpress.org/plugins/tags/rest-api/)[WordPress](https://da.wordpress.org/plugins/tags/wordpress/)
   [wp_query](https://da.wordpress.org/plugins/tags/wp_query/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/dynamic-mo-loader/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/dynamic-mo-loader/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/dynamic-mo-loader/reviews/)

## Bidragsydere

 *   [ Generaxion ](https://profiles.wordpress.org/aucor/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/dynamic-mo-loader/)