Set swedish language

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Set swedish language

Post by jusWest »

Hello!

I need to set the defaultlanguage of my application/editor instance to the swedish language.

How do i do that?

I have copied the Languages folder from the editor installation, to my applications root folder, and I am calling

Code: Select all

pdfCtl.Inst.SetCurrentUILang("sv-SE");
in the startup of my application. But it does not set the language to swedish.

What am I doing wrong?

/Ronny
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Set swedish language

Post by Sasha - Tracker Dev Team »

Hello Ronny,

Does it work with the FullDemo application?

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Re: Set swedish language

Post by jusWest »

Sasha - Tracker Dev Team wrote: Wed May 22, 2019 8:36 am Hello Ronny,

Does it work with the FullDemo application?

Cheers,
Alex
I just tried putting the language folder under the fulldemo bin\debug folder (where the exe is) and call the same function in the constructor, but it does not work. Neither does setting it via the language tab in the demo(I added it to the combo).
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Set swedish language

Post by Sasha - Tracker Dev Team »

Hello Ronny,

And does setting the languages via the Preferences/Language work in the FullDemo? I suspect you have misplaced the language folder or it requires something else.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Re: Set swedish language

Post by jusWest »

Sasha - Tracker Dev Team wrote: Wed May 22, 2019 9:35 am Hello Ronny,

And does setting the languages via the Preferences/Language work in the FullDemo? I suspect you have misplaced the language folder or it requires something else.

Cheers,
Alex
No, actually I see only the english language when i go into Preferences/Language.

Where should I put the folder?
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Set swedish language

Post by Sasha - Tracker Dev Team »

Hello Ronny,

Just checked how the languages are placed in the normal Editor installation. You will have to create the Common\Languages folders with needed languages near the EditorSDK dll and Resources.dat file.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply