Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

how to translate string in HTML template ? #4

Open
goof03 opened this issue Mar 5, 2014 · 4 comments
Open

how to translate string in HTML template ? #4

goof03 opened this issue Mar 5, 2014 · 4 comments

Comments

@goof03
Copy link

goof03 commented Mar 5, 2014

Hi, i play with the framework for 15 days now and it's very cool πŸ˜„ . But before doing "rm -r symfony" in all my projects i need some little help … πŸ˜„

I just can't find how to translate string in the form template (fields label for exemple) ?
Another thing, that is not very well documented: how to use rivet.js with the framework ? I'm too newbie to find a simple way to include w2form with it … πŸ˜‰

@vitmalina
Copy link
Owner

Thanks for positive feedback. The framework is in very initial stage and things will be dramatically changing.

Did not understand "how to translate string in the form template". What do you mean?

KickStart comes tightly integrated with w2ui, the rest of libraries are optional. So, you might or might not use rivets.js. I am currently evaluating it myself.

In general, what KickStart provides is

  1. Folder structure (subject to modifications)
  2. Module management
  3. URL routers

The rest of things come from libraries. I do have newer version that is not committed, and that is in NodeJS.

@goof03
Copy link
Author

goof03 commented Mar 5, 2014

In your exemple admin module in the template "users-create.html" i'd like to translate "User Id:" in it

@goof03
Copy link
Author

goof03 commented Mar 11, 2014

Allo ?

@vitmalina
Copy link
Owner

user-create.html is just a sample, there is no built-in translations. I would recommend using some js library to accomplish the goal.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants