06/23/2014 8:13 AM
post110816
|
Hello folks,
I have a very old GUI, which was written with Photon Application Builder (PhAB) Version 2.03.
Now the customer wants to make some changes in the language translation files, which have to be edited by the "phtoton
language editor" > phablang.exe
I would like to give the phablang.exe to the customer, so he can edit the language file himself without bothering about
the source code.
As the documentation says:
"Starting the Language Editor as a stand-alone application:
If you plan to allow your application to be translated at a customer site, you'll need to include the following files...
"
http://www.qnx.com/developers/docs/6.3.2/photon/prog_guide/languages.html#LanguageEditor
Unfortunately, this doesn't say, how to start phablang.exe on a Microsoft Windows system using phindows (as is done to
run PhAB on MS Windows (as installed with QNX Momentics IDE 4.6)).
Just copying phablang.exe, phablang.res, ph.dll, cygwin1.dll and languages.def and then starting it, results in an
ACCESS_VIOLATION and a stack dump.
Does anybody know, how to run phablang on MS Windows without installing the whole QNX Momentics IDE?
Your help is appreciated.
Greetings, Martin
|
|
|
|
RE: phablang on MS Windows
|
06/24/2014 5:40 AM
post110838
|
RE: phablang on MS Windows
You can launch phablang from within PhAB (appbuilder). Look under Project -> Language Editor. Or you can first start "
appbuilder", and then use a command prompt (or Cygwin shell) to type: ph -run phablang.exe
Either way you need a proper PhAB-for-Windows installation at the customer site. PhAB must be running because it starts
the required Photon components. There are a lot more files needed than the ones you list.
Regards,
Max
-----Original Message-----
From: Martin Hollingsworth [mailto:community-noreply@qnx.com]
Sent: Monday, June 23, 2014 8:13 AM
To: photon-graphics
Subject: phablang on MS Windows
Hello folks,
I have a very old GUI, which was written with Photon Application Builder (PhAB) Version 2.03.
Now the customer wants to make some changes in the language translation files, which have to be edited by the "phtoton
language editor" > phablang.exe
I would like to give the phablang.exe to the customer, so he can edit the language file himself without bothering about
the source code.
As the documentation says:
"Starting the Language Editor as a stand-alone application:
If you plan to allow your application to be translated at a customer site, you'll need to include the following files...
"
http://www.qnx.com/developers/docs/6.3.2/photon/prog_guide/languages.html#LanguageEditor
Unfortunately, this doesn't say, how to start phablang.exe on a Microsoft Windows system using phindows (as is done to
run PhAB on MS Windows (as installed with QNX Momentics IDE 4.6)).
Just copying phablang.exe, phablang.res, ph.dll, cygwin1.dll and languages.def and then starting it, results in an
ACCESS_VIOLATION and a stack dump.
Does anybody know, how to run phablang on MS Windows without installing the whole QNX Momentics IDE?
Your help is appreciated.
Greetings, Martin
_______________________________________________
Photon microGUI
http://community.qnx.com/sf/go/post110816
To cancel your subscription to this discussion, please e-mail photon-graphics-unsubscribe@community.qnx.com
|
|
|
|
RE: phablang on MS Windows
|
06/24/2014 5:43 AM
post110839
|
RE: phablang on MS Windows
One small change: If you type "ph -run phablang.exe" you don't need to start appbuilder first. This command will start
the required photon components if they are not already running.
-----Original Message-----
From: Max Feil
Sent: Tuesday, June 24, 2014 5:40 AM
To: photon-graphics
Subject: RE: phablang on MS Windows
You can launch phablang from within PhAB (appbuilder). Look under Project -> Language Editor. Or you can first start "
appbuilder", and then use a command prompt (or Cygwin shell) to type: ph -run phablang.exe
Either way you need a proper PhAB-for-Windows installation at the customer site. PhAB must be running because it starts
the required Photon components. There are a lot more files needed than the ones you list.
Regards,
Max
-----Original Message-----
From: Martin Hollingsworth [mailto:community-noreply@qnx.com]
Sent: Monday, June 23, 2014 8:13 AM
To: photon-graphics
Subject: phablang on MS Windows
Hello folks,
I have a very old GUI, which was written with Photon Application Builder (PhAB) Version 2.03.
Now the customer wants to make some changes in the language translation files, which have to be edited by the "phtoton
language editor" > phablang.exe
I would like to give the phablang.exe to the customer, so he can edit the language file himself without bothering about
the source code.
As the documentation says:
"Starting the Language Editor as a stand-alone application:
If you plan to allow your application to be translated at a customer site, you'll need to include the following files...
"
http://www.qnx.com/developers/docs/6.3.2/photon/prog_guide/languages.html#LanguageEditor
Unfortunately, this doesn't say, how to start phablang.exe on a Microsoft Windows system using phindows (as is done to
run PhAB on MS Windows (as installed with QNX Momentics IDE 4.6)).
Just copying phablang.exe, phablang.res, ph.dll, cygwin1.dll and languages.def and then starting it, results in an
ACCESS_VIOLATION and a stack dump.
Does anybody know, how to run phablang on MS Windows without installing the whole QNX Momentics IDE?
Your help is appreciated.
Greetings, Martin
_______________________________________________
Photon microGUI
http://community.qnx.com/sf/go/post110816
To cancel your subscription to this discussion, please e-mail photon-graphics-unsubscribe@community.qnx.com
|
|
|
|
Re: RE: phablang on MS Windows
|
06/24/2014 7:52 AM
post110841
|
Re: RE: phablang on MS Windows
Hi Max,
thanks for the info and the quick reply!
Do you by chance know, if there is a minimal PhAB-for-Windows installer, which comes without any other side components,
like Momentics IDE?
Thanks and greetings,
Martin
|
|
|
|
RE: RE: phablang on MS Windows
|
06/24/2014 10:37 PM
post110849
|
RE: RE: phablang on MS Windows
Unfortunately there is no installer of just PhAB-for-Windows or Photon-for-Windows. You need a full SDP (Momentics)
install.
Max
-----Original Message-----
From: Martin Hollingsworth [mailto:community-noreply@qnx.com]
Sent: Tuesday, June 24, 2014 7:53 AM
To: photon-graphics
Subject: Re: RE: phablang on MS Windows
Hi Max,
thanks for the info and the quick reply!
Do you by chance know, if there is a minimal PhAB-for-Windows installer, which comes without any other side components,
like Momentics IDE?
Thanks and greetings,
Martin
_______________________________________________
Photon microGUI
http://community.qnx.com/sf/go/post110841
To cancel your subscription to this discussion, please e-mail photon-graphics-unsubscribe@community.qnx.com
|
|
|
09/16/2014 11:58 AM
post111738
|
Hi folks, I have a small follow up question to the above topic.
Does phablang support the export of the translation files into different file types, for example an export of all
strings to a Microsoft Excel file, or maybe an XML file or something similar? I need some easy for humans to read file
type for the management.
Are there maybe some shell commands for that? Unfortunately I can't find any documentation of possible shell commands
for phablang.
Thanks and greetings,
Martin
|
|
|
|
RE: Phablang to export data
|
09/16/2014 1:24 PM
post111742
|
RE: Phablang to export data
Nothing like that is built into phablang, but there is an API that you could use to write your own utility to convert
translation files to a format of your choice and back:
http://www.qnx.com/developers/docs/6.4.1/photon/prog_guide/languages.html#TranslationAPI
> -----Original Message-----
> From: Martin Hollingsworth [mailto:community-noreply@qnx.com]
> Sent: Tuesday, September 16, 2014 11:59 AM
> To: photon-graphics
> Subject: Phablang to export data
>
> Hi folks, I have a small follow up question to the above topic.
> Does phablang support the export of the translation files into different file
> types, for example an export of all strings to a Microsoft Excel file, or maybe
> an XML file or something similar? I need some easy for humans to read file
> type for the management.
> Are there maybe some shell commands for that? Unfortunately I can't find
> any documentation of possible shell commands for phablang.
> Thanks and greetings,
> Martin
>
>
>
> _______________________________________________
>
> Photon microGUI
> http://community.qnx.com/sf/go/post111738
> To cancel your subscription to this discussion, please e-mail photon-graphics-
> unsubscribe@community.qnx.com
|
|
|
|
Re: RE: Phablang to export data
|
09/17/2014 11:11 AM
post111765
|
Re: RE: Phablang to export data
Hi Wojtek,
thanks for the info. I have read that document so many times and every time skipped that section, that I effectively
forgot about it.
Greetings, Martin
|
|
|
|