Set swedish language

PDF-XChange Editor SDK for Developers

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

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: 47
Joined: Fri Aug 24, 2018 8:26 am

Set swedish language

Post by jusWest » Wed May 22, 2019 8:25 am

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

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Set swedish language

Post by Sasha - Tracker Dev Team » Wed May 22, 2019 8:36 am

Hello Ronny,

Does it work with the FullDemo application?

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

jusWest
User
Posts: 47
Joined: Fri Aug 24, 2018 8:26 am

Re: Set swedish language

Post by jusWest » Wed May 22, 2019 9:28 am

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).

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Set swedish language

Post by Sasha - Tracker Dev Team » 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
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

jusWest
User
Posts: 47
Joined: Fri Aug 24, 2018 8:26 am

Re: Set swedish language

Post by jusWest » Wed May 22, 2019 9:47 am

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?

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Set swedish language

Post by Sasha - Tracker Dev Team » Wed May 22, 2019 12:03 pm

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
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply