Pylons / deform

A Python HTML form library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File choosing button not translated

dwt opened this issue · comments

Looking at

selectfile: 'Select file…',
and
changefile: 'Change file…',
it seems those values are not translatable.

Which is sad. Can you do anything about it?

It looks like there is a way to do it. Here's a valid link that is referenced in file_upload.js. It appears that we should not use any strings in the JavaScript and put them in Deform's Chameleon template. I would support a PR and any changes needed to tests.

Just a note, the implementations for each version of Deform and Bootstrap have subtle differences. I would accept one PR for either version, along with functional tests. A deformdemo example would not be necessary.