Milan
asked 5 years ago

Hi guys!
I have successfully installed your plugin to my WordPress site and now I would just like to make some changes to the language. However, I cannot open the dw-glossary.pot file.
 
Default language is set to German in my WordPress.
 
Thanks,
Milan
 

3 Answers
DominicStaff
answered 5 years ago

In this case, you should use the Loco Translate plugin to Update language template file and translate the plugin. Please send me username & password of your site if you still face thier issue.

MilVuk
answered 5 years ago

Hi.
This looks good, but I cannot find a way to edit the info which is shown on the homepage. Here I have two requests:

– Change “Search glossary”
– Edit the domain /glossary
Please see the screenshot.

Dominic Staff
replied 5 years ago

If you want to translate/change the “Search glossary”, you can use Loco translate the plugin and go to edit the template file and update pot file then you change/translate the string.
About the domain /glossary, you can let me know detail about it.

MilVuk
answered 5 years ago

Hi Dominic.
I have already done this, but when I make my changes nothing changes in the frontend.

What I am doing wrong here?
Concerning the domain, I would like change the domain ending from /glossary to the German translation /glossar

Dominic Staff
replied 5 years ago

Please go to the plugins/dw-glossary/dw-glossary.php file then find the line 377.
Add the following code to the file:
function dw_glossary_load_textdomain() {
load_plugin_textdomain( ‘dw-glossary’, false, basename( dirname( __FILE__ ) ) . ‘/languages/’ );
}
add_action( ‘plugins_loaded’, ‘dw_glossary_load_textdomain’ );

Powered by DW Question & Answer Pro