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

How to load an existing translation ? #656

Open
JeromeDeBoysere opened this issue Apr 5, 2017 · 2 comments
Open

How to load an existing translation ? #656

JeromeDeBoysere opened this issue Apr 5, 2017 · 2 comments

Comments

@JeromeDeBoysere
Copy link

JeromeDeBoysere commented Apr 5, 2017

Hello,

Your plugin is really great, thanks you for your work.

However, I thought TGMPA was only available in English but I have just seen that there is a directory 'languages' with the tgmpa-fr_FR.mo/tgmpa-fr_FR.po files for the French translation! Great!

Can you tell me how I can load the French translation? My WordPress is in French but TGMPA is still in English. Do I have do add some code to load the French language files ?

Thanks you

** edit **

I see load_theme_textdomain() is already in your class but it return false for me, I do not why!

@jrfnl
Copy link
Contributor

jrfnl commented Apr 5, 2017

I'm sorry to hear that the localization is not working for you. There is an open PR #601 which is trying to address this, but I haven't gotten round to testing this yet.

Also related #611 .

@maxviewup
Copy link

maxviewup commented Oct 6, 2017

Having the same issue here:

There is an pt_BR (and pt_PT) translate file on the TGMPA, but it doesn't work on my themes. All messages still are in english. (check issue reference above)

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

No branches or pull requests

3 participants