Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various UI issues / line breaks #2

Open
Northwind877 opened this issue Jul 26, 2024 · 30 comments
Open

Various UI issues / line breaks #2

Northwind877 opened this issue Jul 26, 2024 · 30 comments

Comments

@Northwind877
Copy link

Yesterday we tried to have our “whatsNew” translated.

image

For example, change the text to just one line:

  • You can move decos/shops more easily

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.

@Northwind877 Northwind877 changed the title Line breaks do not work Various UI issues / line breaks Jul 26, 2024
@marsxcf
Copy link
Owner

marsxcf commented Jul 26, 2024

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
Copy link
Author

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

@Northwind877
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

marsxcf commented Jul 27, 2024

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
Copy link
Owner

marsxcf commented Jul 27, 2024

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
Copy link
Author

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
Copy link
Owner

marsxcf commented Jul 27, 2024

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
Copy link
Author

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

image

@marsxcf
Copy link
Owner

marsxcf commented Jul 28, 2024

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
Copy link
Author

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
Copy link
Owner

marsxcf commented Jul 28, 2024

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
Copy link
Author

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
Copy link
Owner

marsxcf commented Jul 28, 2024

Please upgrade to 0.12.2

WeChata631a7c51d8b01434c6ce9c05948a086

@Northwind877
Copy link
Author

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
Copy link
Owner

marsxcf commented Jul 28, 2024

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
Copy link
Author

Great thanks, looking forward to the update

@marsxcf
Copy link
Owner

marsxcf commented Jul 29, 2024

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
Copy link
Owner

marsxcf commented Jul 30, 2024

Great thanks, looking forward to the update

Have you tried it? Are there any other issues?

@Northwind877
Copy link
Author

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
Copy link
Owner

marsxcf commented Aug 1, 2024

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
Copy link
Author

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

@marsxcf
Copy link
Owner

marsxcf commented Aug 3, 2024

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
Copy link
Owner

marsxcf commented Aug 18, 2024

Sorry for the wait. Please upgrade to version 0.13.0

Added

  • Support Game Center Localization
  • When localizing, ensure to limit the number of characters according to the requirements by App Store Connect.
  • Copy & Paste rows

Fixed

  • Character count
  • Auto localizing output format

@Northwind877
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

marsxcf commented Sep 11, 2024

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
Copy link
Author

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
Copy link
Owner

marsxcf commented Sep 15, 2024

This groups feature
image

Currently, I am still addressing the issue you encountered.

@marsxcf
Copy link
Owner

marsxcf commented Sep 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants