Extracts the JS translation string parser from _locale_parse_js_file to a dedicated PHP function

Created on 7 July 2017, over 7 years ago
Updated 22 March 2023, almost 2 years ago

Problem/Motivation

\_locale_parse_js_file restricted the input source to local resources only. It reduced the fixiable to parse user JS from modules, remote files by 3rd parties and unable to pass data:// streams to the function and parsing.

Also, we may parse dynamic JS data and not to interactive with DB updates.

Proposed resolution

- Move the Parser to a dedicated function

Remaining tasks

- Review

User interface changes

API changes

- Add \_locale_parse_js_file()

Data model changes

๐Ÿ“Œ Task
Status

Needs work

Version

10.1 โœจ

Component
Localeย  โ†’

Last updated 4 days ago

Created by

๐Ÿ‡ญ๐Ÿ‡ฐHong Kong droplet

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024