Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › The language of the Country Section cannot be modified by language files
Tagged: WP eMember
- This topic has 6 replies, 4 voices, and was last updated 9 years, 7 months ago by
wzp.
-
AuthorPosts
-
November 25, 2013 at 9:43 am #10093
Ozan
MemberHi,
I’m using wp eMember with, eStore and PDF Stamper together. In the member details, I saw that the country section is not the native language of the wordpress install. And they’re not included to the language file also.
I’ve checked and saw that they’re stored in a different file in eMember. So they are not included to translations.
Since the language of the country is related to translation as well, I would love to see it in language files in the future updates.
Hope that makes sense and there isn’t any other issue with using country info from language file.
Can we expect this to resolve in future updates?
November 25, 2013 at 10:20 pm #59196admin
KeymasterYou mean the actual name of the countries?
November 26, 2013 at 4:00 pm #59197Ozan
MemberIn eMember, when you go members tab and edit a member, there is a country part there. And all of them are English since emember’s primary language is English.
The problem is these country names are not included to the language file eng.php. So we cannot change them and they stamp it to the pdf’s in English. Whatever language change we do in related language files.
Can that be solved?
March 8, 2016 at 9:33 am #59198Chucho
MemberHi! Sorry to revive this old post.
By any chance did you guys implement a way of translating the list of countries from the dropdown?
That would be great!
March 8, 2016 at 12:55 pm #59199wzp
ModeratorBy any chance did you guys implement a way of translating the list of countries from the dropdown?
They are “hard coded.”
By “translate,” do you mean something like this in the dropdown list?:
Chine (People’s Republic of) –> 中国
China (Republic of) –> 台灣
Israel –> יִשְׂרָאֵל
March 10, 2016 at 6:53 am #59200Chucho
MemberExactly, offering all the countries in the language of the website.
Just thinking out loud, if they are hard coded… Perhaps a piece of javascript to replace them on the user-side could work?
March 10, 2016 at 1:26 pm #59201wzp
ModeratorThe problem, is that natively displaying some country names, requires the use of non-Latin characters. Because the rendering of characters takes place in the browser; some users might not have all the necessary fonts installed. In my previous example, I used Traditional Chinese, Simplified Chinese, and Hebrew; in addition to Latin fonts. It would be an awful-lot to ask users to have every non-Latin font possible installed.
-
AuthorPosts
- You must be logged in to reply to this topic.