translation_utils.py - Translation Helper Flow

            flowchart TD
                Start([Start]) --> CheckRoot{Root exists?}
                CheckRoot -->|no| Stop([Return, no output])
                CheckRoot -->|yes| Iterate["Iterate root/* directories"]
                Iterate --> CheckPo{messages.po exists?}
                CheckPo -->|yes| Yield["Yield messages.po path"]
                CheckPo -->|no| Next["Skip and continue"]
                Yield --> MoreDirs{More directories?}
                Next --> MoreDirs
                MoreDirs -->|yes| Iterate
                MoreDirs -->|no| Stop

                classDef action fill:#ecfeff,stroke:#06b6d4
                classDef decision fill:#fef3c7,stroke:#f59e0b
                classDef success fill:#d1fae5,stroke:#10b981
                class Start,Iterate,Yield,Next action
                class CheckRoot,CheckPo,MoreDirs decision
                class Stop success
        

Back to build scripts