nutritionfactsorg / daily-dozen-ios

Keep track of the foods that Dr. Greger recommends in his NYT's best-selling book, How Not to Die with this iOS app
https://apps.apple.com/us/app/dr-gregers-daily-dozen/id1060700802
Other
150 stars 39 forks source link

Persian Localization #78

Open marc-medley opened 9 months ago

marc-medley commented 9 months ago

Translation Team Question: Can the iOS Daily Dozen app work with a Persian calendar?

Yes, Daily Dozen version v3.2.1. was restructured to support language and regional localizations.

The Daily Dozen app nows uses Apple's foundation calendar for localized date conversions. The calendar choice is a user setting at the device level.

A quick check was done based on today's date:

date_example

The following was found:

DailyDozenToday

DailyDozenWeightScale

Comments:

  1. What shows as English text sections are what a NutritionFacts translation spreadsheet will provide.
  2. The Persian calendar text sections are provided by the device operating system based on the user device level settings. No NutritionFacts translations needed for these components.
  3. The 2nd Daily Dozen screenshot show a place where the layout would need to be adjusted a bit for the smaller screen sizes.

Next Steps: When a Farsi/Persian translation is available, then app can be tested to find UI layout issues or other details which may need to be adjusted. At that time the app details can be adjusted.

marc-medley commented 9 months ago

iPod Touch (small screen test case) iOS 15 show that the streaks can clip the checkboxes.

PersianStreaks_16
PersianStreaks_103
marc-medley commented 8 months ago

Analytics

Analytics text

Carriage Returns

carriage returns

Checkbox: select order and alignment

Checkbox order and alignment

Hyperlink Formatting

hyperlink formatting

Localize Progress Completed/Total Stats Numbers

Note: Numberic localization is provided by the OS, but has not yet be connected. Once the connection is made, then all app language will be using localized numbers.

Localize numbers for x:y

Localized Calendar numbers

Semi-Spaces

semi-space

Titles Need Higher Contrast

white-colored titles