Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Resources Folder Missing in 2017.2.0f3

Resources Folder Missing in 2017.2.0f3 2 weeks 3 days ago #3134

  • tcwicks
  • tcwicks's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
I've imported the project but the Resources folder is not there.
So of course I do not have the languages prefab ?????
The administrator has disabled public write access.

Resources Folder Missing in 2017.2.0f3 2 weeks 3 days ago #3135

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1096
  • Thank you received: 231
  • Karma: 68
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
The administrator has disabled public write access.

Resources Folder Missing in 2017.2.0f3 2 weeks 3 days ago #3136

  • tcwicks
  • tcwicks's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
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: 2 weeks 3 days ago by tcwicks.
The administrator has disabled public write access.

Resources Folder Missing in 2017.2.0f3 2 weeks 3 days ago #3137

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1096
  • Thank you received: 231
  • Karma: 68
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
The administrator has disabled public write access.

Resources Folder Missing in 2017.2.0f3 2 weeks 3 days ago #3138

  • tcwicks
  • tcwicks's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
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: 2 weeks 3 days ago by tcwicks.
The administrator has disabled public write access.

Resources Folder Missing in 2017.2.0f3 2 weeks 3 days ago #3139

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1096
  • Thank you received: 231
  • Karma: 68
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: 2 weeks 3 days ago by Frank.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.217 seconds
Colors