Replacing to local language Alphabets instead of English in members list

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
rxu
Extensions Development Team
Posts: 3900
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Replacing to local language Alphabets instead of English in members list

Post by rxu »

exemplary1 wrote: Tue Oct 01, 2024 2:36 pm Can a letter be manually added ?
It should :)
It's in 'NONLATIN_ALPHABET' language entry in \ext\tatiana5\nonlatinlettersinmemberlist\language\[your_lang_id]\nonlatinletters.php.
exemplary1
Registered User
Posts: 192
Joined: Mon Feb 05, 2024 11:41 am

Re: Replacing to local language Alphabets instead of English in members list

Post by exemplary1 »

rxu wrote: Tue Oct 01, 2024 2:39 pm
It should :)
It's in 'NONLATIN_ALPHABET' language entry in \ext\tatiana5\nonlatinlettersinmemberlist\language\[your_lang_id]\nonlatinletters.php.
That is where I have added all my alphabets, but some alphabets are made by two latin characters(means I have to type two letters to actually show one local language letter). So the IDs are shown under first letter only.
Lets say there is K, there is S and then there is another letter made of KS (which is totally different letter), so it wont display under KS, but rather under K.
What extension does is, it separates KS into K & S and tries to display accordingly. But I can directly type on address bar and it will show the ids(starting with KS).
rxu
Extensions Development Team
Posts: 3900
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Replacing to local language Alphabets instead of English in members list

Post by rxu »

Does the letter have its own local representation? Or does it actually look like KS in your language?
exemplary1
Registered User
Posts: 192
Joined: Mon Feb 05, 2024 11:41 am

Re: Replacing to local language Alphabets instead of English in members list

Post by exemplary1 »

Yes, there are multiple letters which has local representation. It is very well displayed within my forum, plus you can also search member by placing in address bar.
Lets say its Delta
memberlist.php?first_char=a#memberlist Here, you can replace δ in place of a, and all ids starting with δ will be displayed
memberlist.php?first_char=δ#memberlist

There are even letters in my local language that are bound to single English/Latin letter. For example, english 'N' carries two letters, both pronounced differently.
rxu
Extensions Development Team
Posts: 3900
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Replacing to local language Alphabets instead of English in members list

Post by rxu »

What I mean is can't those letters be just typed in natively into the language entry but not as their latin equivalents?
exemplary1
Registered User
Posts: 192
Joined: Mon Feb 05, 2024 11:41 am

Re: Replacing to local language Alphabets instead of English in members list

Post by exemplary1 »

I have no idea how fonts work, but I think it transforms that way.
You need a letter in your local language ?, you type two English letters to get it displayed.
I dont think there's a direct input for that letter.
exemplary1
Registered User
Posts: 192
Joined: Mon Feb 05, 2024 11:41 am

Re: Replacing to local language Alphabets instead of English in members list

Post by exemplary1 »

I had similar problem while developing an android dictionary app. There's a website that allows you to create dictionary app out of your text data ( word - meaning ). It automatically creates A to Z listing, and in my case, it picked up the same problem and displayed all KS under K letter. I couldn't resolve.
rxu
Extensions Development Team
Posts: 3900
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Replacing to local language Alphabets instead of English in members list

Post by rxu »

So, if you use, for example, ξ instead of ks in the language file, it won't work?
exemplary1
Registered User
Posts: 192
Joined: Mon Feb 05, 2024 11:41 am

Re: Replacing to local language Alphabets instead of English in members list

Post by exemplary1 »

I create an account with ξ, and it works. I've sent you a PM.
exemplary1
Registered User
Posts: 192
Joined: Mon Feb 05, 2024 11:41 am

Re: Replacing to local language Alphabets instead of English in members list

Post by exemplary1 »

Rxu helped me to make it work.
Thank you very much for all the help.

Return to “phpBB Custom Coding”