WATranslate v4.5 — Admin Branding / Application Settings

Menu (...) → Settings now allows the administrator to:

1. Rename the application
2. Upload a logo for the login screen + web/mobile header
3. Upload a separate app icon/favicon for web + PWA/Home Screen use

No SQL/database migration is required.

APP ICON REQUIREMENTS
PNG/JPG/WebP
Square
Minimum 512 × 512 px
Maximum 5 MB

LOGO REQUIREMENTS
PNG/JPG/WebP
Maximum 5 MB
May be square or rectangular

FILES OVERWRITTEN
public/index.php
public/api.php
assets/app.js
public/assets/app.js
service-worker.js

FILES ADDED
src/Branding.php
manifest.php
public/manifest.php
assets/branding-v4.5.css
public/assets/branding-v4.5.css
storage/branding/.htaccess
uploads/branding/.htaccess

DO NOT CHANGE
root api.php wrapper
public/webhook.php
config.php
database
Google configuration
Meta configuration

Branding settings are stored in:
storage/branding/settings.json

Uploaded branding images are stored in:
uploads/branding/

IMPORTANT IPHONE NOTE
Safari/iOS may keep an already-installed Home Screen app name/icon cached.
If the web UI updates but the Home Screen icon/name does not:
remove the current Home Screen web app and add it again from Safari.

INSTALL
Upload this ZIP to:
public_html/whatsapp-server-translator/

Extract and overwrite.

Then hard-refresh desktop.
For installed iPhone PWA, close it completely and reopen it.
