HomePage › Forums › Themes Support › Bookory – Book Store WooCommerce Theme › Translate Letters
- This topic has 11 replies, 2 voices, and was last updated 1 year, 7 months ago by isrimi.
-
AuthorPosts
-
September 13, 2022 at 6:47 pm #27404isrimiSupport Expired
Hi, sorry again it’s me, please can you tell me how to translate letters, so people can search authors?
Loco translate already installed.
https://www.awesomescreenshot.com/image/32354099?key=466ec6b2c1c58085b842b556216347bb
Thanks in advanceSeptember 14, 2022 at 11:24 am #27436Hi,
We use the Latin alphabet to filter by the author list.
To use the alphabet in your language, you will have to customize the code, create the alphabet yourself, then modify the data into the code to make it work.September 15, 2022 at 2:37 pm #27479isrimiSupport ExpiredThanks for your response, can you please tell me where to customize the code or modify the data into the code?
Thanks in advance..September 16, 2022 at 10:57 am #27511Yes, please go to bookory/inc/elementor/widgets/all-authors.php, find code:
$index = array_merge(range('A', 'Z'), array('0-9'));
and edit into your alphabet: https://prnt.sc/mGViAtL4FAC0- This reply was modified 1 year, 7 months ago by Billy Nguyen.
September 17, 2022 at 1:18 pm #27536isrimiSupport ExpiredThanks Billy I’ve done like this but unfortunately not working:
$index = array_merge(range(‘ა’, ‘ბ’, ‘გ’, ‘დ’, ‘ე’, ‘ვ’, ‘ზ’, ‘თ’, ‘ი’, ‘კ’, ‘ლ’, ‘მ’, ‘ნ’, ‘ო’, ‘პ’, ‘ჟ’, ‘რ’, ‘ს’, ‘ტ’, ‘უ’, ‘ფ’, ‘ქ’, ‘ღ’, ‘ყ’, ‘შ’, ‘ჩ’, ‘ც’, ‘ძ’, ‘წ’, ‘ჭ’, ‘ხ’, ‘ჯ’, ‘ჰ’,), array(‘0-9’));
September 19, 2022 at 1:28 pm #27585Hi,
Oh, you did it wrong. Please change the above code to:
$alphabet = array(‘ა’, ‘ბ’, ‘გ’, ‘დ’, ‘ე’, ‘ვ’, ‘ზ’, ‘თ’, ‘ი’, ‘კ’, ‘ლ’, ‘მ’, ‘ნ’, ‘ო’, ‘პ’, ‘ჟ’, ‘რ’, ‘ს’, ‘ტ’, ‘უ’, ‘ფ’, ‘ქ’, ‘ღ’, ‘ყ’, ‘შ’, ‘ჩ’, ‘ც’, ‘ძ’, ‘წ’, ‘ჭ’, ‘ხ’, ‘ჯ’, ‘ჰ’); $index = array_merge($alphabet, array(‘0-9’));
September 20, 2022 at 1:39 pm #27631isrimiSupport ExpiredHi,
There is no ($alphabet = array or $index = array_merge($alphabet, array(‘0-9’));)
This is the code i have.- This reply was modified 1 year, 7 months ago by Billy Nguyen.
September 20, 2022 at 1:43 pm #27632isrimiSupport ExpiredAll authors PHP, just in case, you have same code in previous massage, thanks in advance and sorry for disturbing you.
September 20, 2022 at 2:00 pm #27637Please send the admin web account for me, I will check and try to help you.
September 20, 2022 at 2:12 pm #27641isrimiSupport ExpiredThis reply has been marked as private.September 20, 2022 at 2:32 pm #27647I resolved this issue, please recheck your page: https://isrimi.com/all-authors/
September 20, 2022 at 2:37 pm #27648isrimiSupport ExpiredWow so quick thanks a lot Billy, best customer service.., have a great day..
-
AuthorPosts
You must be logged in to reply to this topic.