Translate text inside an array

More
2 years 9 months ago #4421 by lzardo2012
Hello!

I have a text that is built inside an array:

[System.Serializable]
public class DialogueList
{
public string dialogueDescription;
public CharacterList characterList;
[TextArea]
public string message;
}

and then I turn this into an array:

public DialogueList[] dialogueList;

How can I translate the texts inside the created array of strings?

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #4422 by Frank
Instead of using string, use LocalizedString.

LocalizedStrings have an inspector to allow setting term, translations, etc.
inter-illusion.com/assets/I2Localization...ocalizedStrings.html

Hope that helps,
Frank

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out

Please Log in or Create an account to join the conversation.

Time to create page: 0.213 seconds
Template by JoomlaShine