Forum Replies Created
-
AuthorPosts
-
We have just rolled back to the previous version, so you won’t see our misbehaved website anymore.
Hello,
We translated the Enfold theme into Korean, Simplified Chinese, and Traditional Chinese. Can you please include these in the future versions of Enfold?
Thank you,
Korean:
http://www.emeditor.com/pub/enfold_lang/enfold_ko.zipSimplified Chinese:
http://www.emeditor.com/pub/enfold_lang/enfold_zh_CN.zipTraditional Chinese:
http://www.emeditor.com/pub/enfold_lang/enfold_zh_TW.zipUnfortunately, this is not fixed on v2.3.1 either. Can you please make sure to include this on the next update?
This fixes the issue. I hope the fix is included in the next minor version.
Since this issue breaks our website, I needed to revert to v2.2. The header drop-down menu seems half-transparent, and that might seem to cause the issue. Is there any CSS fix?
I have exactly the same issue after upgrading to Enfold v2.3. The top header menu drop-down doesn’t work. My website is: http://www.emeditor.com/ This should need a hot fix as soon as possible…
Thank you,
YutakaAfter I purged CDN and purged from Cache, it works now. I apologize for troubles
Thank you,
I created Japanese translations:
http://www.emurasoft.com/pub/enfold-ja.zip
I hope this will help someone!
Hi Dude,
I downloaded your updated pot file. I had to convert the pot file into UTF-8 before I can edit with Poedit. But I still saw “Meanwhile lets just say that we are proud %s contributed a whooping %s entries.” and “Edit the profile description here.” in English.
I found the solution now… In loop-about-author.php, the second argument for __() function was missing. Changing
$description .= ‘</br>’.sprintf( __( ‘Meanwhile lets just say that we are proud %s contributed a whooping %s entries.’ ), $name, count_user_posts( $author_id ) );
if(current_user_can(‘edit_users’) || get_current_user_id() == $author_id)
{
$description .= “</br>“.__( ‘Edit the profile description here.’ ).”“;
to
$description .= ‘</br>’.sprintf( __( ‘Meanwhile lets just say that we are proud %s contributed a whooping %s entries.’,’avia_framework’ ), $name, count_user_posts( $author_id ) );
if(current_user_can(‘edit_users’) || get_current_user_id() == $author_id)
{
$description .= “</br>“.__( ‘Edit the profile description here.’,’avia_framework’ ).”“;
fixed the issue!
I hope this fix is included in the next version of Enfold.
Thanks!
August 26, 2013 at 6:36 pm in reply to: Title breadcrumb in the header is not truncated correctly with Unicode #136390Thanks for your assistance. Actually, changing mb_strimwidth instead of substr code at:
wp-contentthemesenfoldframeworkphpfunction-set-avia-backend.php
fixed all.
Thanks!
Hi Dude,
This resolved the issue beautifully. There is no “��” any more!
Thank you!
August 25, 2013 at 10:10 pm in reply to: Title breadcrumb in the header is not truncated correctly with Unicode #136388Hello Ismael,
Thanks for taking this. mbstring.encoding_translation was turned off. See phpinfo at http://www.emeditor.org/phpinfo.php
I actually wrote this at a separate topic, and I wrote this same thing:
With a little search, I found a similar article:
http://stackoverflow.com/questions/8484162/how-to-truncate-an-utf8-string-in-php
I think using mb_strimwidth instead of substr will resolve this issue.
Would that help?
Thanks again,
Hello Dude,
Thanks for your response.
In this case, all these two ‘��’ should be removed. Therefore, the breadcrumb is created, the PHP code should cut off the string before these two invalid characters. Sometimes, you will see one of these as ‘�’. But this is just a representation of UTF-8 encodings in a browser, and using W3C HTML Validator reveals invalid character code is “xE3” in this case.
This can happen when you are trying to truncate a UTF-8 string at any character boundary. For example, if you have a string “あ”, which consists of 3 bytes “E3 81 82”. If you cut the string within these 3 characters, the original character “あ” will be corrupted, and it is represented like this ‘�’.
This issue is not limited to Japanese. In German, for example, a character ‘ä’ can be encoded as two bytes: “C3 A4”, and cutting these two bytes into half will make the ‘ä’ character invalid.
With a little search, I found a similar article:
http://stackoverflow.com/questions/8484162/how-to-truncate-an-utf8-string-in-php
I think using mb_strimwidth instead of substr will resolve this issue.
Thank you,
Hi Dude,
This has resolved the issue beautifully. Thanks so much for your support!
Hello,
I really want to help you with Japanese translations, but can you please fix these two issues:
– The date/time formats are hard-coded like: “11 Aug 2013”, but it needs to be translated to “2013年 8月 11日”. As you can see the order of day, month, and year is different in Japanese. The format should match to the WordPress admin’s General settings (Date Format and Time Format).
– There is a problem with breadcrumb when using Japanese (or any non-ascii language). When a title is truncated because it is too long, it doesn’t cut off at a character boundary of UTF-8 (Unicode).
Please take a look at the right-side of the header breadbrumb at:
the two characters at the right (“��”) are invalid charactes because UTF-8 string was not correctly truncated.
These two issues are very important to me, and if not fixed, I won’t be able to use the Enfold theme. I posted the similar issues at different topics, so I apologize for double posting, but I thought this topic is more appropirate. If these issues were fixed, I would be gladly submit my Japanese translations (.po).
Thank you,
August 21, 2013 at 4:47 pm in reply to: WPML flag links to /home/ but should be redirected to / #135994 -
AuthorPosts