RafaAguilar
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate X] Remove language part of url only in homeI did it with a redirection of nginx. But now when active redirection an infinite loop occurs because the plugin puts the section and redirection takes it away.
This is the redirection: rewrite /es/$ $scheme://$host permanent;
Forum: Plugins
In reply to: [qTranslate X] Remove language part of url only in homeYes, this option remove the language section for all url of the default language, but I want remove only in home url.
Sorry, I forgot to specify that only wanted to remove the section of the home url
This is possible?
Thank you for quick response!
Forum: Plugins
In reply to: [Loco Translate] Twig files supportThe next php code is a filter for translate a string:
$this->addFilter(“translate”, function ($string, $scope) {
return __($string, $scope);
});And this is a twig template:
<div class=”title”>{{ notice.post_title| translate( ‘notices’ ) }}</div>
Exists another plugin for translate with .mo and .po and another user request this feature also.
https://wordpress.org/support/topic/add-twig-template-files-as-support?replies=2
Thank you!!
Forum: Plugins
In reply to: [mqTranslate] Official github repositoryThank you!
Forum: Plugins
In reply to: [mqTranslate] Suggestion for remove notce warning+1
Forum: Plugins
In reply to: [qTranslate] Fix annoying PHP notices+1
Forum: Plugins
In reply to: [Codestyling Localization] Add .twig template files as support+1