cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

Collaboration with other software
About model and data exchange with 3rd party solutions: Revit, Solibri, dRofus, Bluebeam, structural analysis solutions, and IFC, BCF and DXF/DWG-based exchange, etc.

Classification translation

Ahmed_K
Advisor
Hello,
i want to translate the Uniformat classification downladed from Archicad website,
the xml file, once loaded in excel, it can't be saved back as an xml to load it ino archicad,
Is there a way to translate it ? or workaround ?
Note : I have an excel sheet with only ID + translated classifications
Thanks
AMD Ryzen 9 3900X, 32 GB RAM, RTX 3080 10 GB
Archicad 27
Windows 11 professional
https://www.behance.net/Nuance-Architects
17 REPLIES 17
Ahmed_K
Advisor
Thanks LaszloNagy !

It works yes, but teadious for 1200 name 😛

i'm searching for a way to automate this
in XML, there is a function that highlights all same words, so , this inspires me , it may work :

* Search for <name>

* Highlight them

* select lines with highlited names

* Copy lines to a new file

* translate them with translate function ( it exists )

* Copy them back to replace lines ( i think there is a function like this, i did some researches)

It may work after some research, that would be a huge help for the community
AMD Ryzen 9 3900X, 32 GB RAM, RTX 3080 10 GB
Archicad 27
Windows 11 professional
https://www.behance.net/Nuance-Architects
Laszlo Nagy
Community Admin
Community Admin
Cool, let us know if you manage to work out a good solution.
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-Ac27
runxel
Legend
Sure enough a small Python (or whatever floats your boat) script could handle this easily.
Only the automatic translation would be "tricky"; I mean, we all know the quality of those
Lucas Becker | AC 27 on Mac | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
Ahmed_K
Advisor
Python inside archicad or notepad++ ?
AMD Ryzen 9 3900X, 32 GB RAM, RTX 3080 10 GB
Archicad 27
Windows 11 professional
https://www.behance.net/Nuance-Architects
runxel
Legend
bouhmidage wrote:
Python inside archicad or notepad++ ?
The "normal" Python.
Lucas Becker | AC 27 on Mac | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
Ahmed_K
Advisor
So maybe a programmer here can help
AMD Ryzen 9 3900X, 32 GB RAM, RTX 3080 10 GB
Archicad 27
Windows 11 professional
https://www.behance.net/Nuance-Architects
poco2013
Mentor
Actually this is "somewhat" doable in Python using Google's google_trans_new module, which uses the Goolge translator site.

One: Google site has a limit and will periodically shut down without warning if overused. You can purchase a paid service.

two: The translations are not very Good.

Three: Some English words or phases will translate to the same French word or Phase. This will cause duplicate ID's and invalid the XML file. I worked around the problem by appending a line count to the end of any duplicate phase to make it unique. This may not be acceptable.

Four: Since the translations may not be acceptable-- they would still have to be manually reviewed. This somewhat defeats the purpose.

I have attached a French translation XML
from Google to demonstrate the possibilities.
Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27
Ahmed_K
Advisor
Hello again !

this application can open, edit, and save again any archicad classification XML file,

https://www.oxygenxml.com/

i tested it and it works like a charm
AMD Ryzen 9 3900X, 32 GB RAM, RTX 3080 10 GB
Archicad 27
Windows 11 professional
https://www.behance.net/Nuance-Architects