marsxcf / LocalizeX-Release

0 stars 0 forks source link

Various UI issues / line breaks #2

Open Northwind877 opened 3 months ago

Northwind877 commented 3 months ago

Yesterday we tried to have our “whatsNew” translated.

image

For example, change the text to just one line:

Press the Play button:

image

The translation is not adjusted.

And even if I delete the fields and synchronize them again with App Store Connect, they are still there on App Store Connect.

I also noticed that the line breaks only work in the right view. If you insert a text with line breaks on the left in the table, they are missing later in AppStoreConnect.

But if you insert it right, then it is not taken over correctly in the translations, only if you update each language individually, but not with the Play button.

marsxcf commented 3 months ago

First issue, it seems like you might have hit the 'skip localized' play button, which is why the translation didn't change.

Second issue, during development, if I uploaded an empty 'whatsNew' to App Store Connect, it would return an error. So, when 'whatsNew' is empty, I send 'nil', hence no change on App Store Connect. However, I’ve just tested this, and it now seems possible to upload empty characters. I'll fix this in the next update.

Third issue about inserting a text with line breaks on the left in the table and them missing later in AppStoreConnect, I haven't encountered this before. I'll need to look into it further.

Northwind877 commented 3 months ago

Many thanks for the information. I had completely overlooked the Override Localized button on the right side

Northwind877 commented 3 months ago
image

When I press Override Localized, it translates, but then when it's done, all the fields are still empty. What am I doing wrong?

Northwind877 commented 3 months ago
image

If I now press Refresh here, the text is completely gone.

image

Unfortunately, the tool doesn't work for us yet :( I hope it will.

marsxcf commented 3 months ago

Sorry for the trouble. I ran a test using your text and discovered a strange issue.

1 2

When there are seven items, the data returned by OpenAI included an extra "content" field, which caused the translation content to not be parsed.

3 4

After I deleted an item, the data returned by OpenAI did not have a "content" field, allowing the translation content to be parsed.

I wiil fix it soom.

marsxcf commented 3 months ago

To quickly resolve this issue, you can add a line in the "comment" saying "do not make an array" or something to that effect. 5 6

Northwind877 commented 3 months ago

Thanks for the quick reply. I have now tried it, but unfortunately it still remains empty for with the "Override Localized" button. But if I press Refresh for each language individually, it works. But of course it would be ideal if it translated them all directly. At least I can use it now, thank you!

marsxcf commented 3 months ago

The issues where the ‘whatsNew’ field could not be updated with empty content and where translation content could not be parsed have been fixed.

Please upgrade to 0.12.0

And This version now supports localizing App Store Connect in-app purchases. Game Center is still under development.

Northwind877 commented 3 months ago

Sounds fantastic, unfortunately I still get an error when updating:

image
marsxcf commented 3 months ago

Please try again, or download directly from this address: https://github.com/marsxcf/LocalizeX-Release/releases/download/0.12.1/LocalizeX.0.12.1.dmg

Northwind877 commented 3 months ago

Thanks, it works again! The IAP-Purchases are great, but I still have one wish, when you select the IAP Purchase, it would be great if the languages you have in “App Information” were also automatically suggested. For me, for example, it looks like this:

image

I would now have to add the languages first for every IAP purchase, and we have 30-40 of them. Would that still be possible somehow? :) Thank you

I am already very enthusiastic about the tool, I hope other developers realize that too!

marsxcf commented 3 months ago

I was actually planning to include a feature to add all languages at once in the next version. But if you need it now, I can start working on it and release an update later.

Northwind877 commented 3 months ago

Yes, I'll wait with the translation of the IAP-purchases, thank you very much! This feature would make it even easier and faster!

marsxcf commented 3 months ago

Please upgrade to 0.12.2

WeChata631a7c51d8b01434c6ce9c05948a086

Northwind877 commented 3 months ago

Thanks, I've already tried it out. However, it has now really translated all the languages for me. But I only wanted to have the languages that our app supports, as in General/App Information. Unfortunately, it also automatically synchronized everything with the App Store without me pressing the button at the top. Now I think I have to delete all languages manually.

marsxcf commented 3 months ago

Now I totally get your point and I'm sorry for the inconvenience. I'll definitely work on refining this feature in the next update to better suit your needs.

Northwind877 commented 3 months ago

Great thanks, looking forward to the update

marsxcf commented 3 months ago

Please upgrade to 0.12.3, in the version I add a feature that auto using the languages in General / App Information for other localizables on App Store Connect.

marsxcf commented 3 months ago

Great thanks, looking forward to the update

Have you tried it? Are there any other issues?

Northwind877 commented 3 months ago

I’ve noticed some issues with the latest version of the whatsNew function:

The output appears incorrect for 2-3 languages, regardless of whether I use the “do not make an array” comment or not. In the previous version, the comment resolved this issue effectively.

Translating in-app purchases (IAPs) is very useful. However, the character limit imposed by Apple is quite restrictive. It would be practical if ChatGPT could be instructed to shorten translations to, for example, 45 characters. I attempted this using a comment, but it didn’t work. It does work directly in the ChatGPT app, though.

The app displays an incorrect character count for the Hindi language. This results in an error message when updating to App Store Connect.

Additionally, I have a feature request that would be highly beneficial: It would be extremely practical to be able to copy a line (key) with all its translations and paste it elsewhere. For instance, we had to deliver an update with a fix during our rollout and needed to reuse the same changelog. Being able to copy the old changelog and reuse it would be very helpful. Similarly, for IAPs, we often have the same descriptions but different prices.

Thank you

marsxcf commented 3 months ago

I’m currently working to resolve the issues with the ‘whatsNew’ function.

Regarding the character limit for Apple’s IAPs and the inaccurate character count for Hindi, I will work on optimizing this.

Also, the idea of copying a line along with all its translations is excellent! I’ve added it to my development plan. This will certainly facilitate easier updates and management of IAPs.

Northwind877 commented 3 months ago

Thank you very much, maybe Game Center and then there are no more wishes from my point of view - great tool :)

marsxcf commented 3 months ago

Ok, I'm still working on Game Center. Localizing Game Center involves not just text but also options and images. So, I'll need to refactor some code to accommodate these elements. It will take a bit longer than In-App Purchase.

marsxcf commented 2 months ago

Sorry for the wait. Please upgrade to version 0.13.0

Added

Fixed

Northwind877 commented 2 months ago

Thank you very much! We have a release next week and I will try out all the new features and let you know then!

Northwind877 commented 2 months ago

We are finally ready to start the next release. Everything has worked well so far, but unfortunately nothing is happening with GameCenter.

image

Unfortunately, nothing happens when I click on Achievements or Leaderbaord. Is there perhaps an exception flying?

marsxcf commented 2 months ago

It appears that the Achievement and Leaderboard lists did not load. Typically, they should display as illustrated in the image below. Could you please let me know how many Achievements and Leaderboards you have in your game? Additionally, could you confirm whether the group feature is enabled?

微信图片_20240911093838
Northwind877 commented 2 months ago

We have 37 Group Achievements, but no Leaderboard. What exactly do you mean by the group feature? When I press GameCenter/Achievements, nothing happens. The data from before, e.g. IAPs, is simply still displayed.

marsxcf commented 2 months ago

This groups feature

image

Currently, I am still addressing the issue you encountered.

marsxcf commented 1 month ago

Sorry, I haven't identified the cause of this issue yet. Please upgrade to version 0.13.1, which will log outputs to ~/Library/Logs/LocalizeX/. After opening the game on app store connect in LocalizeX, please send me the logs. Thank you.