Home / Forums / Basel support forum / Translation problems
Home › Forums › Basel support forum › Translation problems
Translation problems
- This topic has 8 replies, 3 voices, and was last updated 9 years, 7 months ago by
Artem Temos.
-
AuthorPosts
-
August 30, 2016 at 9:21 am #3295
shonespalaceParticipantI am translating the theme with Poedit and everything works fine but I found this 2 bugs (or not, you will tell)
1. Everythings works OK until translating the string% commentsto% komentar
I get error: Error ‘msgtr’ is not a valid PHP format string, unlike ‘msgid’ Reason: in the directive number 1, the character ‘k’ is not a valid conversion specifier.2. On my account page in basel-my-account-sidebar there is a part of text that can not be translated. I found it here basel\inc\shortcodes.php
<div class="user-info"> <span><?php printf( __('Welcome, <strong>%s</strong>', 'xtemos'), $user->user_login ) ?></span> <a href="<?php echo esc_url( wp_logout_url( home_url('/') ) ); ?>" class="logout-link"><?php _e('Logout', 'xtemos'); ?></a> </div>3. And one bonus question, how to exclude Downloads from the list in My account page
Thanks
August 30, 2016 at 4:23 pm #3305Hello,
Thank you so much for using our theme.
1. We always use Loco Translate for translations POT files and just checked “comments” string and it works correctly. https://gyazo.com/e84550188a5d2a9d857d1673ad46fbfd
2. This issue will be fixed in the next update. Actually, you can just replace text-domain
xtemoswithbaselthere to make it work.3. It is a more woocommerce related question. But we it should work in the following way: if you don’t have any orders with digital products so downloads link won’t be shown at all.
Regards
November 6, 2016 at 4:24 pm #6326
kidiParticipantI’m still have this problem, and I have the latest Basel installed. :/
November 6, 2016 at 4:25 pm #6327
kidiParticipantOh, sorry. The link is the following:
November 6, 2016 at 4:55 pm #6332November 7, 2016 at 7:41 am #6348
kidiParticipantI can’t translate some of text of the sidebar at “my-account” (now “fiokom”).
For example:
– From your account dashboard you can view your recent orders, manage your shipping and billing addresses and edit your password and account details.
– DOWNLOADS
– ADDRESSESHow can I solve this problem?
November 7, 2016 at 5:10 pm #6354Hi @kidi,
You can translate these words via WooCommerce POT file. Use Loco Translate plugin for this purpose. Here is a video tutorial that should point you to the right direction https://www.youtube.com/watch?v=tAFq1yTfWfU
Regards
November 16, 2016 at 4:25 pm #6766
kidiParticipantIt’s works! Thanks again!
November 16, 2016 at 6:41 pm #6774You are always welcome!
-
AuthorPosts
Tagged: my account, poedit, translation
The topic ‘Translation problems’ is closed to new replies.
- You must be logged in to create new topics. Login / Register