ObservedObserver / chatgpt-i18n

Localize your websites with AI assistance.
https://www.i18n.ing/
GNU Affero General Public License v3.0
796 stars 96 forks source link

feat: translate XML files #15

Open zivnadel opened 1 year ago

zivnadel commented 1 year ago

@ObservedObserver @kyze8439690 I have introduced an option to translate XML files (implemented the feature requested in #11) by utilizing the xml2js library. However, if a tag contains a period (.) like in android (e.g., androidx.constraintLayout.widget.ConstraintLayout), it will split the tag at the dots into multiple tags, as this is the logic employed to construct the new JSON. I did not want to interfere with this process, but I will attempt to address this issue shortly.

vercel[bot] commented 1 year ago

@zivnadel is attempting to deploy a commit to the kanaries Team on Vercel.

A member of the Team first needs to authorize it.

zivnadel commented 1 year ago

@ObservedObserver