"Filtering" Section on Bilingual Websites
Posted 27 March 2013 - 04:26 AM
I am trying to use on a "Filtering" Section on bilingual website. Everything works fine except the words "Show All", "Prev" and "Next" could not be translated.
How can I fix that?
Posted 27 March 2013 - 01:02 PM
It's something I have to fix in Filtering. You can change the Show All phrase in options but ideally Filtering should translate that phrase. I should have an update later today or tomorrow for you. Will let you know when I do.
Posted 27 March 2013 - 05:05 PM
I pushed an update and it should work. I tested it with Transposh and did have to set the option for pretty permalinks otherwise the pagination doesn't work.
Any problems let me know.
Posted 27 March 2013 - 08:43 PM
Transposh is not the right plugin to test this. To translate a wordpress themes or plugin you need to do certain things described in this page:
I am not sure how you can localize a Pagelines "section" but there should be a way to include "Show all", "Prev" and "Next" in Pagelines' "mo" and "po" files.
Posted 27 March 2013 - 11:30 PM
Yes, my code is like what is in the tutorial except that Pagelines creates the .pot file in the section folder. When I created the section I didn't have the Show All, Prev and Next localized. They are now localized and part of the filtering.pot file.
So, those phrases should now translate.
Posted 28 March 2013 - 03:05 AM
Where is the section folder located? I searched the themes folder but I cannot find it among the sections.
Posted 28 March 2013 - 12:22 PM
The folder is in wp-content/plugins/pagelines-sections/filtering. There should be a filtering.pot file there. If it is not, let me know and I will investigate further.
Posted 29 March 2013 - 11:17 AM
I wanted to see if the phrases translated for you with the adjustments I made to the section. If not, I want to help get it working for you. Please let me know if you need further assistance.
Posted 29 March 2013 - 01:09 PM
Thanks. I have a problem with my server. I downloaded the POT file and translated it. Then I tried to upload the files but the server does not allow me to upload them because the permissions are set to 755 and I cannot change it from my FTP client software. I have to take care of this issue first, then I can see if the translation works.
Posted 29 March 2013 - 05:58 PM
I finally uploaded the tranlstion files but now it seems the section works incorrectly. Check this page and try to navigate through pages 1 to 6:
It seems the content doesn't change sometimes. I click on "next" or page numbers but the page only reloads the same content.
Posted 29 March 2013 - 08:01 PM
Hmm, it's seems to have to do with the /new being there. The page changes but the pagination on the bottom doesn't change. I'm going to setup a test site that is in a sub-folder of root and see if I can replicate the issue.
Again, sorry that it is not working properly. Will try and get it fixed as soon as possible.
Posted 29 March 2013 - 08:30 PM
Thanks for your quick response and your effort to fix this!
Posted 29 March 2013 - 08:35 PM
I setup a test site like yours and it worked fine using a subfolder, whew! I think the culprit is Views, it is loading a pagination script and I think that is conflicting with the pagination in Filtering. Could you try deactivating Views and see if the problem still exists?
Let's hope that's the issue. Then we can figure out how to handle it.
Posted 29 March 2013 - 08:47 PM
THat is strange. Because before the update it was working fine even though Views was active.
I just disabled Views. But the problem is still there. My plugins are:
Posted 30 March 2013 - 01:55 AM
Posted 30 March 2013 - 04:45 AM
"Filtering" had no problem before the update. It was working fine with all the other plugins installed.
I disabled all the plugins (except Pagelines sections) and it still had the same problems: No "Prev", additional "/", and the problem with "Next".
Posted 03 April 2013 - 03:15 PM
Please let us know if you still need assistance with this issue otherwise I will close the topic in 7 days. Thanks!
Posted 03 April 2013 - 03:57 PM
I still need assistance. I need some time to test it again.