Unable to read Custom localization Value

Wed 8. Nov 2017, 04:44

Hi,

I have been wrote sample codes refering to Articy Importer menual for unity.

Every part of menual seems to work well.

But in 'Custom localization' section,

'ArticyDatabase.Localization.Localize("MyLocaID")' method returns only empty value. (not null value).


I made two custom localization files 'general_en.xlsx' and 'general_kr.xlsx' using same format with loc_Export package_en.xlsx file.

and input several records that the localID named 'MainMenu.Exit', 'MainMenu.Save', 'MainMenu.Setting' ..etc

These *.xlsx files were imported successfully then it created two asset files(general_en.asset, general_kr.asset).

But If I tried code 'ArticyDatabase.Localization.Localize("MainMenu.Exit")', it returns empty value.

I also tried some changes to file name like loc_general_en.xlsx or loc_general_en.asset, but not work.

My Unity version is 2017.2.0f3.

Did I miss something?

Thanks.
finecherry
 
Posts: 2
Joined: Wed 8. Nov 2017, 02:51

Re: Unable to read Custom localization Value

Wed 8. Nov 2017, 08:13

Problem Solved.

I deleted two column 'Context Path' and 'Is final?' then work fine.
finecherry
 
Posts: 2
Joined: Wed 8. Nov 2017, 02:51

Return to articy:draft Unity Importer

Who is online

Users browsing this forum: No registered users and 72 guests

Who We Are
Contact Us
Social Links