This AngelScript (.as) automatically fix Arabic and Right-to-Left (RTL) subtitle rendering and punctuation placement directly inside PotPlayer during video playback!
-
SubtitleTranslate - Arabic RTL Punctuation Fixer.as:- Feature: Reverses start/end punctuation (
.,!,?,,,:,(),[]) for Arabic & RTL subtitle lines. - ASS Style Protection: Preserves all ASS style override tags (
{\an8...}).
- Feature: Reverses start/end punctuation (
-
SubtitleTranslate - Arabic RTL Unicode Control.as:- Feature: Injects Unicode Right-to-Left Marks (
\u200F[RLM]) at line boundaries for proper RTL text flow in PotPlayer. - ASS Style Protection: Preserves all ASS style override tags (
{\an8...}).
- Feature: Injects Unicode Right-to-Left Marks (
-
Copy the
.asExtension File(s) into PotPlayer's Translate subfolder:- Path:
C:\Program Files\DAUM\PotPlayer\Extension\Subtitle\Translate\ - (or
%APPDATA%\PotPlayerMini64\Extension\Subtitle\Translate\)
- Path:
-
Enable in PotPlayer:
- Go to Right-click menu -> Subtitles -> Subtitles Translation.
- Select Always use.
- Select RTL Punctuation Fixer or RTL Unicode Control Fixer