Author Topic: No "localization - button"  (Read 2575 times)

3d-motion

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
No "localization - button"
« on: June 26, 2014, 10:44:20 AM »
I'm a new User of NGui and did a tutorial about localization. But right at the beginning of the tutorial, I had the first problem.
If I go to Component/NGui/Internal, there is no "localization" - option.
Can anybody help me pls?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: No "localization - button"
« Reply #1 on: June 26, 2014, 11:25:44 AM »
Localization is a static class. What tutorial are you following?

Localization is pulled from Localization.txt (or Localization.csv), and all you need to do to localize something is to put UILocalize script on it.

3d-motion

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: No "localization - button"
« Reply #2 on: June 26, 2014, 11:39:07 AM »


Shouldn't there be a button for localization???  Am I wrong??

Tutorial: http://www.youtube.com/watch?v=03Frr9Tspm0

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: No "localization - button"
« Reply #3 on: June 26, 2014, 02:06:17 PM »
As I said, Localization is a static class. You won't find it in the component menu anymore. You are following an old 3rd party tutorial.

So once again: you don't need the Localization component anymore.

3d-motion

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: No "localization - button"
« Reply #4 on: June 26, 2014, 03:52:29 PM »
Sorry, but... I'm a new User of NGui, and of course not really a developer. But I would like to learn how it works, and so I try to do my best.
I don't even know what an abstract class is and how to use it. Is there a usefull tutorial anywhere? I also bought the book NGui for Unity (Charles Bernadoff page 74), but there is the same way described as in the video. Would be nice if you could suggest any "step by step" - tutorial.

3d-motion

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: No "localization - button"
« Reply #5 on: June 27, 2014, 11:22:42 AM »
Any good tutorial? do know now how it works, but don't know how to add a language for example... to add swedish or german and so on.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: No "localization - button"
« Reply #6 on: June 27, 2014, 12:30:35 PM »
Localization documentation: http://www.tasharen.com/forum/index.php?topic=8092.0

Localization video link: http://youtu.be/GIpccFRIXmo?t=2m46s (Tutorial 5)

Both linked from the NGUI's documentation page that you can access via NGUI -> Help.
http://www.tasharen.com/forum/index.php?topic=6754.0