Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization / translation errors/question #16

Open
Pharizna opened this issue Sep 20, 2018 · 5 comments
Open

Localization / translation errors/question #16

Pharizna opened this issue Sep 20, 2018 · 5 comments

Comments

@Pharizna
Copy link

Hi

I'm using your very nice plugin in my spanish web (www.pcdemano.com) but I don't now how to localize to spanish some words in the useronline page

For example...
image

Thank you in advance for your help :)

@lesterchan
Copy link
Owner

@Pharizna
Copy link
Author

Thank you but , I've downloaded the files and place in the same folder... but the text are english.

I've unactived and actived your plugin but the problem remains :(

@lesterchan
Copy link
Owner

lesterchan commented Sep 20, 2018

Try replace https://github.com/lesterchan/wp-useronline/blob/master/wp-useronline.php#L17
With

load_plugin_textdomain( 'wp-useronline', false, dirname( plugin_basename( __FILE__ ) ) );

And put the lang files in wp-content/plugins/wp-useronline

@Pharizna
Copy link
Author

Pharizna commented Sep 20, 2018

It's very strange :(

Now, it's in /lang/plugins/ . (close to the others simillar files) ... but it doesn't work with your plugin :(

@Pharizna
Copy link
Author

Pharizna commented Sep 20, 2018

I changed the L17 in your php file and put the lang files in your folder... but it's in english yet :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants