You sent the replies privately to me instead of the group. Please try to send to the group to keep the discussion thread as I often miss private replies. It looks like in the theme.getL10N() call the first parameter is incorrect since the bundle name is: "Localization (L10N) 1".
On Thursday, February 11, 2021 at 4:53:39 AM UTC+2 Shai Almog wrote: > Did you imported the CSV data into the designer tool? > Does the CSV appear correctly in the designer itself? > How does the localization look in the designer UI, can you include a > screenshot of that? > > On Wednesday, February 10, 2021 at 5:35:15 PM UTC+2 [email protected] > wrote: > >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> >> *Product Version:* Apache NetBeans IDE 12.2 >> >> *Updates:* NetBeans IDE is updated to version NetBeans 8.2 Patch 2 >> <http://wiki.netbeans.org/NetBeans8.2PatchesInfo> >> >> *Java:* 1.8.0_281; Java HotSpot(TM) 64-Bit Server VM 25.281-b09 >> >> *Runtime:* Java(TM) SE Runtime Environment 1.8.0_281-b09 >> >> *System:* Mac OS X version 10.14.6 running on x86_64; UTF-8; da_DK (nb) >> >> *User directory:* /Users/xxxxx/Library/Application Support/NetBeans/12.2 >> >> *Cache directory:* /Users/xxxxx/Library/Caches/NetBeans/12.2 >> >> >> I am experimenting with the toDoApp >> >> I have tried to apply the code from the video: >> https://codenameone.teachable.com/courses/115309/lectures/3014342. >> >> The simulator crashes and highlights the line: >> UIManager.getInstance().setBundle(theme.getL10N("I","dk")); I have tried to >> place the script several places but it has not helped. >> >> I have made the following change to Properties: -Duser.language=dk, and >> made a list dk which looks like this csv: Key,dk,en,iw, >> "1. {Line2=more..., Line1=Entry 1}","1. {Line2=more..., Line1=Entry 1} >> 1. {Line2=more..., Line1=Entry 1} ","1. {Line2=more..., Line1=Entry >> 1}","", >> "2. {Line2=more..., Line1=Entry 2}","2. {Line2=more..., Line1=Entry >> 2}","2. {Line2=more..., Line1=Entry 2}","2. {Line2=more..., Line1=Entry 2}", >> "3. {Line2=more..., Line1=Entry 3}","3. {Line2=more..., Line1=Entry >> 3}","3. {Line2=more..., Line1=Entry 3}","3. {Line2=more..., Line1=Entry 3}", >> "@rtl","","","true", >> "Add Task","Ny opgave","Add Task","הוסף משימה", >> "Button","Button","Button","Button", >> "Capture Photo","Vælg foto","Capture Photo","צל×� ×ª×ž×•× ×”", >> "Description","Beskrivelse","Description","תי×�ור", >> "Entry 1","Nr. 1","Entry 1","", >> "Entry 2","Nr. 2","Entry 2","", >> "Entry 3","Nr. 3","Entry 3","", >> "Import JSON","Hent JSON","Import JSON","יב×� JSON", >> "Import XML","Hent XML","Import XML","יב×� XML", >> "MultiButton","Flerfunktions knap","MultiButton","", >> "My task","Min opgave","My task","משימות שלי", >> "New Task","Ny opgave","New Task","משימה חדשה", >> "Settings","Indstillinger","Settings","הגדרות", >> "Tasks","Opgaver","Tasks","משימות", >> "Title","Titel","Title","כותרת", >> "Todo","Opgave","Todo","משימות", >> "Toggle Theme","Skift tema","Toggle Theme","החלף מר×�×”", >> "cancel","slut","Cancel","בטל", >> "details regarding my task","detaljer om min opgave","details regarding >> my task","פרטי×� לגבי המשימה", >> "edit","rediger","Edit","ערוך", >> "menu","menu","Menu","תפריט", >> "more...","mere....","more...","עוד...", >> "ok","ok","OK","×�שר", >> "select","vælg","Select","בחר", >> >> >> What am I doing wrong - thanks in advance >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/189ab186-58c8-4e98-a784-ac4ce0f5b0a6n%40googlegroups.com.
