several translation questions

A place for users and developers of the Xataface to discuss and receive support.

several translation questions

Postby Jean » Tue Jan 31, 2012 3:28 am

Hi Steve,
I have a problem to put a label to an action in a table, what is the code : I used
Code: Select all
tables.dashboard.actions.chiffrer.label  ="Chiffrer"

But I haven't any result.

How to translate "Forgot password", "Connected as", "Login prompt" ?

I use the translation tool for this application, congratulations. I discover it. Congratulations it is a smart tool.

May be we need some more precisions about it in the doc.

Thank you

Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France

Re: several translation questions

Postby shannah » Wed Feb 01, 2012 7:14 pm

It's just
Code: Select all
actions.chiffrer.label = "Chiffrer"


Forgot password:
Code: Select all
actions.forgot_password.label = "..."


Where are the "Connected As" and "Login prompt" strings you are referring to?

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: several translation questions

Postby silma » Thu Feb 02, 2012 6:25 am

Hi Jean,

I listed the translation trouble i had here, hope it can help : http://xataface.com/forum/viewtopic.php?f=4&t=4847

"connected as" :
Code: Select all
Logged in as user  = "Connecté en tant que"
silma
 
Posts: 87
Joined: Tue Apr 28, 2009 11:47 pm

Re: several translation questions

Postby Jean » Thu Feb 02, 2012 8:19 am

Thankto you both, this forum is exceptionnal and this framework too.
Have a nice day
Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France

Re: several translation questions

Postby Jean » Fri Feb 03, 2012 1:02 am

Sorry Steve,
When the actions.ini file is in a table directory, specific to the table, it is not effective.
Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France

Re: several translation questions

Postby shannah » Mon Feb 06, 2012 10:42 am

Arghh.. you're right.... The code for the table actions is separate from the other actions... Right now you can't translate these action labels.
I have posted this bug in the issue tracker.
http://bugs.weblite.ca/view.php?id=931
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: several translation questions

Postby jerryevo » Sat Jan 12, 2013 10:17 am

forgot_password.php has some messages, for example: An email has been sent to the provided email address with instructions for resetting your password.

How to translate them?
jerryevo
 
Posts: 16
Joined: Sun Jan 06, 2013 1:30 pm

Re: several translation questions

Postby shannah » Thu Jan 17, 2013 8:56 am

It looks like this action hasn't been internationalized yet. I have added an issue to the issue tracker.
http://bugs.weblite.ca/view.php?id=1204

Basically all of the strings in this action need to be wrapped in df_translate(), and the string itself extracted to the en.ini file. We need this for another project also so I'll probably get this bug fixed within the next few days.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved