Problems with installation

More
5 years 6 months ago #60 by niniane
I was very excited to purchase your tool and started following your instructions here:
www.inter-illusion.com/assets/I2Localization.pdf


1. You reference this example scene, which is not included in the bundle (you can see this in the Asset Store, in package contents):
Assets \ I2 \ Localization \ Examples \ QuickStart.unity

2. I tried to follow your recommended steps of installing into the Resource folder. Your instructions say:
... prefab named I2Localization at Assets > I2 > Localization > Resources

I do not see this prefab. I see a "I2Languages.prefab". Is that the one I'm supposed to move? But your documentation says it must be named I2Localization in order to be recognized.

3. I copied I2Languages.prefab to be Resources/I2Localization.prefab. I went to my scene and added that prefab to my scene. is that the correct way to do it?

4. I went to the Language Source (script) of the prefab and tried to add "English -> United States". I got "No terms where found during parsing". English does not appear under Languages.

5. You wrote "When the Sources Custom Editor open in the Inspector View, it does a quick parsing of the current scene and counts the Terms used by all of the Localize components. That number is displayed on a button next to each of the terms. "

Where is the Sources Custom Editor? How do I open that?

6. I went to a NGUI label (after uncommenting #define NGUI in all 4 scripts you listed) and added a Localize component. It does not show up in my Terms tab for my I2Localization prefab instance.

Help! Nothing is working!

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

More
5 years 6 months ago #61 by Frank
Replied by Frank on topic Problems with installation
Hi
Sorry you got so many problems installing the plugin.

I'm now doing some improvements to the plugin to make it use even less memory and remove any user interaction from the installation. That will come in this next version. So I have to update/finish the documentation!!

The I2 localization can have the terms defined inside the scene or globally in a prefab on the resources folder.
Unless you have a huge localization database, its advisable to store everything into the resources prefab.

After installing the plugin, there will be a prefab already empty and ready to be used at
I2 \ Localization \ Resources \ I2Languages.prefab

Just select it on the Project View in Unity and add the languages you want to use.

When promted, for a folder to save the languages, create one at I2 \ Localization \ Resources \ Languages or any other location that suits your project layout. The plugin will create each language as a file inside that folder.


In the documentation I advice to move the Resources \ I2Languages prefab and languages outside of the I2\Localization folder so that when you upgrade to a new version of the plugin, your terms don't get overridden. In general, the plugin searches for any I2Languages prefab inside any Resource folder in your project.



The latest version of the plugin doesn't need to manually enable each of the found plugins. Once you open the plugin it will find which plugins you have and add the corresponding defines to the Build Settings.

After you add a Localize component to one of the NGUI Labels, you need to create a Key (there is a button for that in the Localize component). Only created Keys will appear in the Language Source. However the plugin will try to get the text of the label and use that as a Key by default when running the game.


Here is a video showing the instalation and general process:



In this last version the Language Source is already empty so you can skip that step :-)

Try that and let me know if you get any other issue!

BTW, If you have changed things in the plugin, I advice you to delete it from the project and just reimport it.

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.

More
5 years 6 months ago - 5 years 6 months ago #67 by niniane
Replied by niniane on topic Problems with installation
Thanks for the fast reply. I was really frustrated until I got your answer! Now I am happy again.

I changed two things, and now I can get translations.
1. I moved the Languages folder under Assets. Previously it was at the same level as Assets. Now it's a subfolder of Assets.
2. I renamed I2Localization (what your documentation said) back to I2Languages (what you said above).

Not sure which one or both did the trick, but it's now working. Thanks!
Last edit: 5 years 6 months ago by niniane.

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

More
5 years 6 months ago #68 by Frank
Replied by Frank on topic Problems with installation
Awesome!

I2 Localization requires the global prefab to be named I2Languages so that may have been the issue.
Unity requires all assets to be inside the Assets folder so that helped for sure!

Its great you got the project to work!
Good luck with the localization and let me know if you find any other issue or has a suggestion on how to improve the plugin.

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.

More
5 years 6 months ago - 5 years 6 months ago #69 by niniane
Replied by niniane on topic Problems with installation
When you upgrade the package, please make it backwards-compatible so that my localization will continue working. Since you're changing many names and improving the plugin, I want to make sure that if I update it, it won't suddenly stop working.

I gave you a 5-star review on the Asset Store because you are so responsive. (But if you break the plugin with a future update that's not backward compatible, I'm taking stars away! :ohmy: )
Last edit: 5 years 6 months ago by niniane.

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

More
5 years 6 months ago #70 by Frank
Replied by Frank on topic Problems with installation
Hi,

Thanks for the review and don't worry about the new version not been compatible. I'm heavily optimizing the plugin but it will remain compatible with all released versions!!.

Even if in the future I have to make a bigger change to improve the plugin quality and features, it will provide at least a tool to automatic port the old version into the new one. (So, I wont be loosing those stars any time soon haha)

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.183 seconds
Template by JoomlaShine