XITRIX / iTorrent

Torrent client for iOS 16+
2.1k stars 197 forks source link

Spanish language #321

Closed Deci8BelioS closed 2 months ago

Deci8BelioS commented 3 months ago

I would like to add the Spanish language for the new version but I can't find the localizable.strings in the repository, I have the translated file working in the last recently released versions.

XITRIX commented 3 months ago

Hi, thanks a lot! You could find it in iTorrent/Core/Assets/Localizable.xcstrings

Highly recommend to use xCode to open and work with it

Deci8BelioS commented 3 months ago

Can't the .strings file be implemented directly?

XITRIX commented 3 months ago

No, it's outdated format

Deci8BelioS commented 3 months ago

But if you still generate the translation file in .strings

XITRIX commented 3 months ago

What do you mean? iTorrent do not use .strings format anymore, it's obsolete format

Deci8BelioS commented 3 months ago

image

XITRIX commented 3 months ago

It's not the same, it's compiled translation inside the ipa. The only way to translate app now, is to translate xcstrings file

Deci8BelioS commented 3 months ago

I have translated the .strings from English to Spanish and it works by adding the file to a folder called es.lproj.

XITRIX commented 3 months ago

I really cannot understand how you was able to translate something like this image Anyway, if you want to translate the app, you need to translate xcstrings file, there is no other way to add new translation into the project

Deci8BelioS commented 3 months ago

opening the file with Filza and copying it to a .txt file for editing in Windows.

However, if there is no other way to add the translation, I don't think I will do it with the new way of doing it.

IMG_0661