Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
Hi Laranz,
Thanks for setting up the test installation in the right way.
Could you please tell me what you did to fix the issue, so I can fix it in my “real” installation as well?
Regards
This reply has been marked as private.I created a completely blank wordpress install, set to dutch language, with cardinal installed, for testing purposes.
I immediately noticed the same strings where untranslated as on my other install.
I then imported the demo content for “Shop two” using Cardinal demos plug-in (this is the demo I based my other page on also)
Off course i know the demo content is in English but also about half the theme strings which should be translated automatically when I install this way remain untranslated (same ones as in my other install…)
Some examples:“Unfortunately your shopping cart is empty” (Cart dropdown in nav)
“Previous article” “Next article” (blogposts)
“View cart” (cart dropdown when not empty)
“Update cart” (cart page)
“add to cart” (button in shop archive overlay)
“My wishlist on Cardinal test” (wishlist dropdown & wishlist page)on the other hand there are some strings that where not translated in my previous install, which are translated now strangely enough..
Some examples:“Reviews” (product page)
“add to cart” (product product page)
basically the entire checkout pageSo what I did next was install codestyling plug-in to check if i could find those untranslated strings. I got the same notice you got before about not having permissions for cardinal/includes/options/languages/nl_Nl.po
Once again this file doesn’t exist.
This makes me feel like there is something fundamentally wrong with the way the theme interprets translations.
I went ahead and copied the nl_Nl.po file from cardinal/language and CHMODded nl_Nl.po and nl_Nl.mo to 755.
Now I was able to scan the translation. As expected al untranslated strings contain translation according to codestyling.
Since this is a clean install I am now sure i did not screw anything up in customization so the problem in my eyes has to be with the theme, meaning I need a fix from you guys ASAP
Regards
Hi Laranz,
I rescanned the dutch language in codestyling for both Cardinal parent and child theme. Still the same problem.
The strings are already translated in the .po file, but they don’t get translated in the front end. (As they have been all along)
I do not understand what is happening and I give you full permission to use either the ftp login info I supplied or the admin login to fix this issue.
Translations are not working with the theme as they should, and I feel like I am being sent around in circles telling you the exact same thing I told you 2 weeks ago, even though you said you would fix the issue for me if i sent you my ftp login.
Any help would be much appreciated.
Hi guys,
I uploaded the .po file from cardinal/languages tot options/languages folder and CHMODded tot 755,
what’s next?
hi Laranz,
cardinal/includes/options/languages/nl_NL.po doesn’t exist, I downloaded the newest version of the theme as you said, but this folder only contains the nl_Nl.mo file…
I can copy the .po file from cardinal/language if nescessary, or try to use poedit to open the .mo file and get a .po file as well. But the theme as is does not contain the file you asked me to CHMOD in the folder you specified…
what should I do?
regards
“Still I get the permission issue error, are you sure the ftp points correctly to the theme?”
Do you mean i am in the right folder?
I am, but cannot locate the .po file, only .mo file…
Hi Rui,
The folder you specified only contains .mo files (all languages)!
i did CHMOD the nl_Nl.mo file to 755 now…
thanks
Hi,
To what should i CHMOD the language files? 755?
I added the ftp login so Laranz (or you) can do the changes for me, but if for some reason you can’t do it.
For now i set the language folder in my child theme and the .po and .mo to 755….
thanks
This reply has been marked as private.This reply has been marked as private.Hi Rui,
Please find the translation files attached.
Also note that I am actually using the standard translation file that comes bundled with the theme..Regards
Attachments:
You must be logged in to view attached files.Hi Rui,
These strings are already translated, but the translation doesn’t show in the front end. Also, these are not the only strings that show up in English, there are actually a lot (I would guess around 50% of total) showing up in English, the rest shows up in Dutch as it should. Very very strange. Please have a look on the page at:
I have set the language folder in functions.php, on previous websites (Dante and neighborhood theme) i never had any issues with the translation, and it looks like I am not the only person with this problem. Need this adressed quickly!
Regards
You are right, i named it correctly though, just typo in the post.
For example when i open the shop page:
The url and page title is dutch, but it says:
“Showing the single product” in english, Departments in english, the add to cart button on mouseover in english. Then when I add the product and I look at my cart mouseover widget in the menubar it says:
1 PRODUCT IN THE CART <- English
MICHEL
PRIJS PER STUK: €12.00 <- Dutch
HOEVEELHEID: 1 <- Dutch
×
VIEW CART <- English
NAAR AFREKENEN <- DutchHi, after opening functions.php i noticed this piece came supplied:
/* LOAD THEME LANGUAGE ================================================== */ /* * You can uncomment the line below to include your own translations * into your child theme, simply create a "language" folder and add your po/mo files */ // load_theme_textdomain('swiftframework', get_stylesheet_directory_uri().'/language');
So i uncommented load_theme_textdomain. Do i need to add add_action from the mentioned post?
I put the translation files into the /languages folder, still i get half a translated site.
Also when i turn on the original theme….
-
Posted in: We hit Power Elite.