
Building apps to £2k/month before the end of 2026 ◻️◻️◻️◻️◻️◻️◻️◻️◻️◻️ Currently at £0 - only up from here
Joined January 2012
- Tweets889
- Following153
- Followers197
- Likes2.2K
Hey @null_deref @skyirezumi @@anyone_else I'm building an app (not push-up related) and was wondering if you could share what you use for joint detection?
I've tried a couple of react native packages and they're trash... Was hoping you might be able to save me some time?
1
1
86
I saw translating an app into multiple languages more than double AppStore traffic for @ar0nbg so doing the same today
Here is the code for you to do the same for Xcode:
1. Create Localizations file in xcode
2. Select languages you want
3. Update key, absolute path and run this script in python editor of choice (extend target languages list if you want)
import json
import deepl
from pathlib import Path
# ================== CONFIGURATION ==================
XCSTRINGS_FILE = "GET ABSOLUTE PATH/Localizable.xcstrings" # Change if your file has a different name
key = 'DEEPL_KEY' # There is a free tier that'll translate your whole app in at least 10 languages
DEEPL_API_KEY = key
TARGET_LANGUAGES = [
"FR", # French
"ES", # Spanish
]
# ===================================================
def translate_app():
translator = deepl.Translator(DEEPL_API_KEY)
path = Path(XCSTRINGS_FILE)
if not path.exists():
print(f"❌ Error: Could not find file at {XCSTRINGS_FILE}")
return
with open(path, "r", encoding="utf-8") as f:
data = json.load(f)
source_lang = data.get("sourceLanguage", "en")
strings = data.get("strings", {})
for key, value in strings.items():
# --- FIX: SMART FALLBACK FOR SOURCE TEXT ---
source_data = value.get("localizations", {}).get(source_lang, {}).get("stringUnit", {})
source_text = source_data.get("value") if source_data else None
# If Xcode hasn't generated a source string unit, fall back to using the Key itself!
if not source_text:
source_text = key
print(f"ℹ️ [{key}] No explicit source unit found. Falling back to the key name as source text.")
localizations = value.setdefault("localizations", {})
for dl_lang in TARGET_LANGUAGES:
# Format language code correctly for Xcode (e.g., "fr", "pt-BR")
if "-" in dl_lang:
parts = dl_lang.split("-")
xcode_lang = f"{parts[0].lower()}-{parts[1]}"
else:
xcode_lang = dl_lang.lower()
# Skip if already translated
if xcode_lang in localizations and localizations[xcode_lang].get("stringUnit", {}).get("value"):
continue
try:
result = translator.translate_text(source_text, source_lang=source_lang.upper(),
target_lang=dl_lang.upper())
translated_text = result.text
# Safely construct the nested dictionaries without overwriting other structural properties
localizations[xcode_lang] = {
"stringUnit": {
"state": "translated",
"value": translated_text
}
}
print(f"✅ [{xcode_lang}] Translated '{key}' -> '{translated_text}'")
except Exception as e:
print(f"❌ Error translating '{key}' to {dl_lang}: {e}")
with open(path, "w", encoding="utf-8") as f:
json.dump(data, f, ensure_ascii=False, indent=2)
print("\n✅ Translation complete! All missing strings processed.")
translate_app()
# if __name__ == "__main__":
# translate_app()
UI lesson I learned (as an amateur):
Once a week, go through your app, pick the worst thing and make it better
doesn’t have to be perfect, just better than average for the product
Why does this work? Most people judge UI on the least attractive element, not some snazzy button
4
4
84
I think @thepatwalls is a hero and I am genuinely extremely grateful for his interviews but I cannot condone working in bed
Makes me feel ill just looking at it
i feel bad for anyone with a wide open calendar
you can be so much more productive in BLOCKS
> set a timer
> block out 2 hours
> put your phone in the other room
> one 5 minute task DONE ✅
> one BIG HAIRY task DONE ✅
GUARANTEE you will get more done in 2 hrs than being the wide open calendar guy
65










