Total RP 2
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

2 posters

Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  611 Sun Apr 06, 2014 8:58 am

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Qe3urr10

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing 7f4fhy10

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Iawu9n10

like this

i think you might haven't define ZhCN in guide
did'n have looked at it yet
i'll do some further tests base on our huge user group

611

Posts : 16
Join date : 2014-02-28

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Mon Apr 07, 2014 8:00 am

That's what I had too, but I thought it was because my client of WoW didn't have the fonts to display the Chinese characters correctly.
I will look into it too. Do you have a version of yours, fully working, so I can see if I'm missing something you've changed to make Total RP 2 compatible with Chinese writing?
Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  611 Mon Apr 07, 2014 3:57 pm

Ellypse wrote:That's what I had too, but I thought it was because my client of WoW didn't have the fonts to display the Chinese characters correctly.
I will look into it too. Do you have a version of yours, fully working, so I can see if I'm missing something you've changed to make Total RP 2 compatible with Chinese writing?

well amazingly you've fixed a input problem that i was working on caused by XML
but some how all character information that contains full width character(2 byte character) can't show properly
i'll upload everything you need to make it work
and if you want to test under Chinese localization you can change the WTF/config
locale ZhCN
the launcher will download Chinese language pack for you

here's things you need
https://drive.google.com/file/d/0B4H_sQa9ape5cFBCWjhmajVfcDg/edit?usp=sharing

Ps: I can start working on the translation of Total RP3 now if you have a list or lang file

611

Posts : 16
Join date : 2014-02-28

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  611 Sat Apr 12, 2014 9:06 pm

Ellypse wrote:That's what I had too, but I thought it was because my client of WoW didn't have the fonts to display the Chinese characters correctly.
I will look into it too. Do you have a version of yours, fully working, so I can see if I'm missing something you've changed to make Total RP 2 compatible with Chinese writing?

What i think is Chinese characters are saved in ASCII by default
So it actually outputs an ASCII character
Maybe this is the reason why it's unprintable?

611

Posts : 16
Join date : 2014-02-28

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Sun Apr 13, 2014 6:06 am

I've downloaded your version.
Unfortunately, I'm on vacation for a week and I left my hard drive with World of Warcraft at home, so I won't work on Total RP this week. I will look into that issue as soon as I'm back home Very Happy 
Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Sun Apr 20, 2014 7:43 am

I'm heading home now and I've looked at the deferences between your version and mine while in the train. It helped me a lot. You've changed the font used everywhere in Total RP to use one that I believe correspond to Chinese writing, ZYKai_T.
I will look into modifying Total RP to switch to that font when the language is set to Chinese.
Beta 2 should be available soon Smile
Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Sun May 04, 2014 6:40 am

Hello again.
I'm sorry, the past two weeks has been a living hell at my school, I had absolutely no time for Total RP Neutral 
I've modified the addon so it uses the fonts you've been using in your version. Unfortunately it seems that I can't install the Chinese version for WoW as I have a european account (Chinese is not listed in the language choices).
Can you tell me if this version is working and if I'm missing a spot where the font needs to be switched?
https://www.dropbox.com/s/4ldl8wq9o05tbw3/Total_RP_2_1.026_b2.zip
Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  611 Sun May 04, 2014 1:19 pm

Thanks for your effort and i think you've missed all mouse over description on icons
like these
[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing S1cf7e11


611

Posts : 16
Join date : 2014-02-28

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  611 Sun May 04, 2014 1:20 pm

i think they should be contained in guide

611

Posts : 16
Join date : 2014-02-28

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Mon May 05, 2014 2:22 pm

Thank you Very Happy I will change that tomorrow.
Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Sat May 10, 2014 4:05 am

Hello again.
Sorry for the delay, I got busier than I thought.
I've added the Chinese font to the guide. It still doesn't look good on my side, but I might be missing some fonts. Can you tell me if it worked? https://www.dropbox.com/s/93djxcc06br2cy1/Total_RP_2_1.026_b3.zip
Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Tue May 20, 2014 6:03 am

Hello there.

As patch 5.4.8 seems to be for this week, I will have to ship version 1.026 along with it. It will include the Chinese translation in its current state (along with other quick bug fixes). So I don't know if it works correctly or not, but as it doesn't interfere with the other languages I don't need to remove it before release.

Please, let me know if it's still not working when you have time. Version 1.027 will be the last one for Total RP 2 and it would be great if the Chinese translation worked before the long wait for Total RP 3.
Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  611 Tue May 20, 2014 8:08 am

Ellypse wrote:Hello there.

As patch 5.4.8 seems to be for this week, I will have to ship version 1.026 along with it. It will include the Chinese translation in its current state (along with other quick bug fixes). So I don't know if it works correctly or not, but as it doesn't interfere with the other languages I don't need to remove it before release.

Please, let me know if it's still not working when you have time. Version 1.027 will be the last one for Total RP 2 and it would be great if the Chinese translation worked before the long wait for Total RP 3.


Sorry for the delay,

Thanks for your effort that all of them works perfectly Very Happy . For now there's only one problem left that I'm currently working on, which is the one that I've mentioned before. Some input frames (eg. Char background) appears to record every single change on IME

(eg. type nihao ^space with any type of hardware signal the result will be nnini'hni'hani'hao你好, which should be ni'hao and press space to make it change to 你好) . Copy&paste works fine but some time it shows CRLF in code when other players look at it.

I don't know if you're familiar with IMEs and XML (which I'm not good at ). But it would be great to have your help.

Since it's hard to explain the problem with plain text, and it's hard to host an image here. I might going to send you an e-mail about this or it's great that if you have any IM that supports images(msn or so).

I'm currently working on it and if I can't touch you before this Sunday, I will update my progress here.

611

Posts : 16
Join date : 2014-02-28

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Tue May 20, 2014 8:14 am

Thank you for your message.
I understand the issue. I admit I had no knowledge about how Chinese characters were entered in text field, but now I get it.
We have the same issues with some latin characters (ñ is entered by typing ~n, ï with ¨i) and it always was an issue with Total RP 2. I will see what can be done, I will try to ask Telkostrasz what's his thoughts about this, maybe he knows the best way to fix this behavior.

You can send me an email at ellypse.celwe@gmail.com. I do have a Skype account, but I'm never on it so email is the best way to get in touch with me.
Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Tue May 20, 2014 10:09 am

I spoke to Telkostrasz and I think I found the issue.
It is the exact same one I have with my system. I have a Mac, and when I want to enter an accentuated letter like ë it actually put ¨ then e and then the system replace it with a ë. It's a similar behavior to you entering ni'hao and then your system replaces the word with the Chinese characters corresponding.
Some text fields in Total RP 2 have an
Code:
<OnTextChanged>
event that, as it names implies, are fired whenever the text in a text field is changed (entering a character). It fires
Code:
self:SetText(string.gsub(self:GetText(),"[%#%~%µ%$%@]",""));
(Telkostrasz explained to me that it is used to delete specific characters used for serializing in some fields, so the characters #~µ$@ should not be used in the background, the description and some creation fields). The issue here I think is that self:SetText(self:GetText()). It insert the current text in the text field... into the text field. I think it's messing with our systems trying to replace characters. It insert the text and then the system tries to do its thing. On my system it means for ¨e, ¨e is set for the text and then my system replace the last character with an ë. For your's, I think it looks for a correspondance in Chinese characters and returns the actual characters if it doesn't found any, so it searches for "n" "ni" "ni'h" and "ni'ha", and then "ni'hao" is identified so it replaces it for "你好". The result is all those characters concatenated.
I will change that behavior when I get back home to day so the gsub is triggered only when the text field loses focus. Then I will release a beta 4 for version 1.026 and will hopefully release it in a few days.
Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  611 Tue May 20, 2014 1:01 pm

Ellypse wrote:I spoke to Telkostrasz and I think I found the issue.
It is the exact same one I have with my system. I have a Mac, and when I want to enter an accentuated letter like ë it actually put ¨ then e and then the system replace it with a ë. It's a similar behavior to you entering ni'hao and then your system replaces the word with the Chinese characters corresponding.
Some text fields in Total RP 2 have an
Code:
<OnTextChanged>
event that, as it names implies, are fired whenever the text in a text field is changed (entering a character). It fires
Code:
self:SetText(string.gsub(self:GetText(),"[%#%~%µ%$%@]",""));
(Telkostrasz explained to me that it is used to delete specific characters used for serializing in some fields, so the characters #~µ$@ should not be used in the background, the description and some creation fields). The issue here I think is that self:SetText(self:GetText()). It insert the current text in the text field... into the text field. I think it's messing with our systems trying to replace characters. It insert the text and then the system tries to do its thing. On my system it means for ¨e, ¨e is set for the text and then my system replace the last character with an ë. For your's, I think it looks for a correspondance in Chinese characters and returns the actual characters if it doesn't found any, so it searches for "n" "ni" "ni'h" and "ni'ha", and then "ni'hao" is identified so it replaces it for "你好". The result is all those characters concatenated.
I will change that behavior when I get back home to day so the gsub is triggered only when the text field loses focus. Then I will release a beta 4 for version 1.026 and will hopefully release it in a few days.

Nice thought on losing focus, never think of that.
I'm trying to unify all text fields and delete those characters when saving.
Wondering if it's going to work.

611

Posts : 16
Join date : 2014-02-28

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Tue May 20, 2014 3:11 pm

Actually, triggering the gsub when loosing focus didn't work as it is saved before the focus is lost. I end up putting it when saving.

Beta 4 is out, it solved my issue on my mac with ë so I hope it fixes yours Wink
https://trp2.forumotion.com/t105-total-rp-2-version-1026-beta-4

Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  611 Tue May 20, 2014 9:36 pm

Ellypse wrote:Actually, triggering the gsub when loosing focus didn't work as it is saved before the focus is lost. I end up putting it when saving.

Beta 4 is out, it solved my issue on my mac with ë so I hope it fixes yours Wink
https://trp2.forumotion.com/t105-total-rp-2-version-1026-beta-4


Merci Very Happy

How do you say perfect in French?
I was trying to do the same thing but those French function names really gave me a hard time lol.

611

Posts : 16
Join date : 2014-02-28

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Ellypse Wed May 21, 2014 3:34 am

"Parfait" ^^

But I realized it's not "parfait". Does the languages feature works? It's comparing languages name using hard coded localization and the Chinese ones are not in the list yet. I will add them for the release of version 1.026.
Ellypse
Ellypse
Admin

Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France

Back to top Go down

[FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing Empty Re: [FIXED] Seems like in ZhCN localization the guide pages and all descriptions are missing

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum