Strange parsing of commas in text
4 years 8 months ago #4091
by Janus
Strange parsing of commas in text was created by Janus
I just integrated L2 Localization today so forgive me if I'm missing something obvious here.
My project is set up to parse in a google sheet which seems to work fine, and when checking the defined terms in the inspector everything looks great.
My problem is that when I retrieve text that has a comma in it via I2.Loc.LocalizationManager.GetTranslation, it returns the text parsed in reverse around the comma.
For example, I have a term tagged with 'BEAM_CANNON_DESC', which looks like this in the language source inspector:
"The Phase Cannon is an advanced beam weapon that deals extreme damage, but suffers from a rather long charge time."
A call to GetTranslation to retrieve this text returns: "but suffers from a rather long charge time. The Phase Cannon is an advanced beam weapon that deals extreme damage,"
What is going on here? Thanks for your help.
My project is set up to parse in a google sheet which seems to work fine, and when checking the defined terms in the inspector everything looks great.
My problem is that when I retrieve text that has a comma in it via I2.Loc.LocalizationManager.GetTranslation, it returns the text parsed in reverse around the comma.
For example, I have a term tagged with 'BEAM_CANNON_DESC', which looks like this in the language source inspector:
"The Phase Cannon is an advanced beam weapon that deals extreme damage, but suffers from a rather long charge time."
A call to GetTranslation to retrieve this text returns: "but suffers from a rather long charge time. The Phase Cannon is an advanced beam weapon that deals extreme damage,"
What is going on here? Thanks for your help.
Please Log in or Create an account to join the conversation.
Time to create page: 0.161 seconds