RETROBAT Official Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Gamelist-Translator : quickly translate games descriptions

2 posters

Go down

Gamelist-Translator : quickly translate games descriptions Empty Gamelist-Translator : quickly translate games descriptions

Post by Schmurtz 20/04/22, 02:56 am

Hi, I have created a script which allow to translate game descriptions inside a gamelist.xml without launching a new scraping.
(thanks to a powershell script and Google Translate)

If you are interested :
https://github.com/schmurtzm/Gamelist-Translator


Usage example : run a powershell cmd then type :
Gamelist-Translator.ps1 "c:\RetroBat\roms\ports\gamelist.xml"


#Version history :

V1.0 - 2022-04-20 - initial version

  • You can change the target language inside the script.
  • Create backup of the original gamelist.xml before modification (the backup will be named gamelist-yyyy-MM-dd_HHmmss.xml)
  • Should support accents / UTF8 in the right way.
Schmurtz
Schmurtz

Messages : 3
Date d'inscription : 2022-04-09

Lorenzolamas, getupor and marcoabm like this post

Back to top Go down

Gamelist-Translator : quickly translate games descriptions Empty Re: Gamelist-Translator : quickly translate games descriptions

Post by getupor 20/04/22, 07:30 am

Hello

Thanks Schmurtz for your share. I'll test it Wink


Gamelist-Translator : quickly translate games descriptions Modo
getupor
getupor
Admin

Messages : 1159
Date d'inscription : 2020-10-04

Lorenzolamas and Schmurtz like this post

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum