Which method to change language (ITA-FRA-ENG) in Gdl

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-06-15 11:37 AM
‎2015-06-15
11:37 AM
I have a huge amount of parameters and variable to change.
I developed Railing Tool (3DMD)
Thank you
MacBook M1 Max 64GB- OS X 12.2.1 - Archicad 27
https://www.archiradar.it/en/
https://www.archiradar.it/en/
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-06-15 03:31 PM
‎2015-06-15
03:31 PM
That depends on what you mean by quick and you won't be able to change the parameter descriptions in the parameter table. However for your UI I have seen samples that reference the parameter names to an array that is keyed to a single parameter for the selection of a language. That way all your UI text can change with the selection of a language parameter.
Is that the type of thing you are looking for? I would have to dig around to see the sample with that functionality as I don't typically use it writing GDL for myself. But the concept is fairly simple.
Is that the type of thing you are looking for? I would have to dig around to see the sample with that functionality as I don't typically use it writing GDL for myself. But the concept is fairly simple.
Erich
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-06-15 04:18 PM
‎2015-06-15
04:18 PM
Maybe the LP_XMLConverter Tool is your best bet.
This doc is for AC16 but should be working pretty similarly in the latest version:
http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/AC_16/APIDevKit/LPXML%20Docum...
This doc is for AC16 but should be working pretty similarly in the latest version:
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-06-15 04:20 PM
‎2015-06-15
04:20 PM
Thank you Erich
Changing the UI is simple using an array.
I'm referring to parameters dialog. How can I change the txt inside the code?
Changing the UI is simple using an array.
I'm referring to parameters dialog. How can I change the txt inside the code?
MacBook M1 Max 64GB- OS X 12.2.1 - Archicad 27
https://www.archiradar.it/en/
https://www.archiradar.it/en/

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-06-15 04:26 PM
‎2015-06-15
04:26 PM
You can't change those as those are defined in the Library Part Editor.
You will have to create separate objects in that case and the LPXMLConverter can make that easier.
You will have to create separate objects in that case and the LPXMLConverter can make that easier.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-06-15 09:16 PM
‎2015-06-15
09:16 PM
The only way is either not to use old type parameters but rather the UI where depending on the language You can set the different strings showing up in the description, or double, triple or make more (as the no of languages) parameters variants with the proper names in different languages, than make them visible or not via hideperameter command but the parameters must be linked via glob_modpar_name>parameters commands.
Best Regards,
Piotr
Best Regards,
Piotr

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-06-20 07:40 AM
‎2015-06-20
07:40 AM
thank you
I think I'll translate only in the UI. And hide parameters in parameters dialog.
I think I'll translate only in the UI. And hide parameters in parameters dialog.
MacBook M1 Max 64GB- OS X 12.2.1 - Archicad 27
https://www.archiradar.it/en/
https://www.archiradar.it/en/