Resources Folder Missing in 2017.2.0f3

More
5 years 9 months ago #3134 by tcwicks
I've imported the project but the Resources folder is not there.
So of course I do not have the languages prefab ?????

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

More
5 years 9 months ago #3135 by Frank

I've imported the project but the Resources folder is not there.


If the plugin doesn't find the I2Languages.prefab, it will ALWAYS create it automatically.
In previous versions of the game, it was been created inside Assets\I2\Localization\Resources\I2Langauges.prefab

But given that I2Languages.prefab has all the translations for you game, if you need to do a clean update of I2 Localization, you can no longer delete the I2 folder and reinstall, otherwise you lose the translations.
To solve that issue, the I2Languages.prefab was moved to the Assets\Resources\I2Langauges.prefab.

That way, if you need to update I2 Localization, you can safely delete the I2 folder without risking losing your translations.

So of course I do not have the languages prefab ?????


It is in Assets\Resources\I2Languages.prefab

Hoep 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.

More
5 years 9 months ago - 5 years 9 months ago #3136 by tcwicks
First off thanks for the super quick reply. See attached screenshot

However Dude. I'm not stupid. So when I say the Resources folder is not included in the asset its just not there.
But since you think I'm stupid. Please see attached image screenshot of the Unity Import Asset dialog window.

In that screenshot where exactly do you see the resources folder ?
:P
Attachments:
Last edit: 5 years 9 months ago by tcwicks.

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

More
5 years 9 months ago #3137 by Frank
I'm sorry if by my explanations you think I implied you are stupid.
That was not my intention!

In that screenshot where exactly do you see the resources folder ?


There is no resources folder there. And that's exactly how it should be!
The plugin doesn't create a resources folder inside the I2 folder!
The plugin doesn't even have a I2Languages.prefab, because otherwise it will override your translations the next time you update.

What the plugin does is: once you install it, and it compiles fine, then it creates an empty I2Languages.prefab outside of the I2 folder.
(in Assets\Resources, not in Assets\I2\Localization\Resources)

If after you install the plugin and it compiled without errors, if there is no Assets\Resources in your project, then thats a bug for sure.
If so, please send an screenshot of your project root folder and the console outputs.

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.

More
5 years 9 months ago - 5 years 9 months ago #3138 by tcwicks
Ye bouy Nuf said. I am stupid and you is cool. Seal of approval attached (treat with care its my favourite seal)
Duh (Facepalm) I got it now.

Quick question. So ignoring the tutorial video. Where should the languages go.
Under the main Assets\Resources\
with a new folder called I2 Languages
or in Assets\I2\Localization\I2 Languages
And should I copy Arial.ttf into that the main Resources Folder to match the tutorial video?

Thanks :)

This video is the source of my confusion:
Attachments:
Last edit: 5 years 9 months ago by tcwicks.

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

More
5 years 9 months ago - 5 years 9 months ago #3139 by Frank

Seal of approval attached (treat with care its my favourite seal)


haha, I will treat it awesomely!!

Where should the languages go.


Its not good to have it as a child of Assets\I2\Localization.
Sometimes, the Unity Importer doesn't update I2 Localization correctly, and it may left old files or delete files you need. When that happens, the best approach is to do a clean install:
i.e. delete the Assets\I2 folder and re-install the plugin so that importer work correctly. But if you have your localization data inside the I2 folder, then, you lose your translations.
That's why I moved things out of the I2 folder in the first place.

In my opinion, the best place to store your translation data by creating the following folder structure:

Assets/Localization/ <-- here you place all assets that will be loaded at runtime by using references( e.g. Fonts, Sprites, TMPro materials)
Assets/Localization/Resources/ <- Here keep the I2Languages.prefab and other on-demand assets (e.g. rarely used fonts, audio sources, etc)
Assets/I2/Localization/ <-- Here is the plugin (and can be deleted and reinstalled if needed without risking losing translation data)

BTW, I know the tutorial is old, and many things have changed from that time. I'm currently finishing a few intro videos showing all the plugin features, setup process and so.

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
Last edit: 5 years 9 months ago by Frank.

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

Time to create page: 0.655 seconds
Template by JoomlaShine