Ticket #1741 (closed enhancement: fixed)

Opened 13 months ago

Last modified 2 months ago

Prepare javascript-logic for i18n

Reported by: ischommer Owned by: bfojcapell
Priority: medium Milestone:
Component: i18n Version:
Severity: high effort / impact Keywords:
Cc: Hours:

Description

needs some concept-work first.

it could work similiar to the php-storage: one global array, which is filled by files in javascript/lang. only the required languages should be included through the Requirements-class.

can we hook this into textcollector as well? (probably a long-term goal)

you could have a look at the tinymce-implementation to give you some headstart (we don't want 1001 lang-files for each little formfield-though... *g* - too many http-requests for external js-files)

Change History

Changed 2 months ago by ischommer

  • status changed from new to closed
  • resolution set to fixed

Fixed, see http://doc.silverstripe.com/doku.php?id=i18n#javascript_usage

textcollector and translate.silverstripe.com support is still outstanding: #2894

Note: See TracTickets for help on using tickets.