Multilingual Tracks
If there is interest, at some stage we should consider adding "Multilingual":http://www.tuxsoft.se/oss/rails/multilingual support.
Leave a comment
of course this ist only a very short-term solution, but according to this "changeset":http://dev.rousette.org.uk/changeset/111 things should be resolved in a future release of tracks - meanwhile you might just want to patch the file manually.
I've summarised all the needed stuff to support utf-8 with safari & hopefully other browsers.
" -> Look into my comment here.":http://dev.rousette.org.uk/ticket/283
" -> Look into my comment here.":http://dev.rousette.org.uk/ticket/283
on 2009-02-15 16:23 *
By waltercruz
I can help with Brazilian Portuguese.
Markus Kobel is working on this http://github.com/kobel/tracks
on 2010-03-10 18:38 *
By
I'm planing to integrate i18n into tracks. perhaps we can put money and manpower together. feel free to contact me via my profile email.
I was working on this for some time. But I have a lot to do right now. I would like to finish a basic set up of the i18n over easter. I have not extracted all the strings, yet. But you could look into my structure and then we can discuss, what we should change! http://github.com/kobel/tracks
As i have seen, it will not be a big deal to change file and directory structures.
As i have seen, it will not be a big deal to change file and directory structures.
on 2010-10-28 09:13 *
By Marcus Ilgner
Has there been any progress since April? A german localization would be quite attractive for my colleagues and I'd be willing to invest some time adapting the code or translating some text.
Unfortunately, there was no progress since April... Right now, I have to finalize a Master Thesis -> so, I will not be able to invest time in tracks until the end of the year. So, if you have time earlier, this would be great for tracks!
Please look into http://github.com/kobel/tracks and tell me what you think...
Please look into http://github.com/kobel/tracks and tell me what you think...
on 2010-11-08 17:44 *
By Marcus Ilgner
Work remaining changed from 14.0 to 2.0
Work remaining changed from 14.0 to 2.0
Sorry Markus, I had already started adding i18n support for most of the code before reading your post.
Was busy for the last few days but finally got around to finish the basic infrastructure for i18n.
See my commit at
https://github.com/milgner/tracks/commit/01cf39b557ecc20590147c888c07e88b9119c180
The translation itself will have to wait a couple of more days and it still needs a user preference and/or a cookie to store the selected language for AJAX requests.
Also I may have forgotten to add one or two human_attribute_name translations of the model attributes to the YAML file but I wanted to get a first usuable commit online so you could take a look and comment.
I'll be away next weekend but will try to get something done nonetheless, to complete this project.
Was busy for the last few days but finally got around to finish the basic infrastructure for i18n.
See my commit at
https://github.com/milgner/tracks/commit/01cf39b557ecc20590147c888c07e88b9119c180
The translation itself will have to wait a couple of more days and it still needs a user preference and/or a cookie to store the selected language for AJAX requests.
Also I may have forgotten to add one or two human_attribute_name translations of the model attributes to the YAML file but I wanted to get a first usuable commit online so you could take a look and comment.
I'll be away next weekend but will try to get something done nonetheless, to complete this project.
Markus, I hope you can fold in your work into the changes of Marcus...
I've fixed some tests, but there are still two issues
So for some reason I18m does not work for project model. Not sure if this is related to the test framework. I did not check that.
run rake test:units for example to see some of the errors
I've fixed some tests, but there are still two issues
- in project model I had to prepend t with I18n.t to get it to work
- in the same project model, the validation error messages are not taken from en.yml, but are the rails defaults
So for some reason I18m does not work for project model. Not sure if this is related to the test framework. I did not check that.
run rake test:units for example to see some of the errors
on 2010-11-09 11:50 *
By Marcus Ilgner
Sorry for not running the tests myself, but I thought that they were broken since rake test didn't work for me from the start.
Now I did a clean git clone again and found that it apparently conflicts with the 1.9.2 Ruby interpreter I was using - rvm-ed to 1.8.7, cloned the gemset and everything's working fine now.
I'll keep that in mind and promise not to break any tests in future commits :)
Now I did a clean git clone again and found that it apparently conflicts with the 1.9.2 Ruby interpreter I was using - rvm-ed to 1.8.7, cloned the gemset and everything's working fine now.
I'll keep that in mind and promise not to break any tests in future commits :)
:-)
I have been trying to upgrade to rails 2.3.9 which has some compatibility code for both rails 3 and ruby 1.9.x.
Unfortunately cucumber/webrat/selenium won't work anymore under 2.3.9 and I haven't figured out why :-( One theory is that the current javascript is not working correctly on 2.3.9 (longshot) so I'm migrating tracks to the latest jquery... I need it too for the last big issue for 2.0: the gui for adding dependencies.
Well, enough off-topic commenting :-)
I have been trying to upgrade to rails 2.3.9 which has some compatibility code for both rails 3 and ruby 1.9.x.
Unfortunately cucumber/webrat/selenium won't work anymore under 2.3.9 and I haven't figured out why :-( One theory is that the current javascript is not working correctly on 2.3.9 (longshot) so I'm migrating tracks to the latest jquery... I need it too for the last big issue for 2.0: the gui for adding dependencies.
Well, enough off-topic commenting :-)
on 2010-11-09 13:02 *
By lrbalt
Type set to enhancement
Severity set to normal
Version set to git-devel
Assigned to changed from bsag to lrbalt
Milestone changed from Someday/Maybe to 2.0
Priority changed from Lowest (5) to Normal (3)
Type set to enhancement
Severity set to normal
Version set to git-devel
Assigned to changed from bsag to lrbalt
Milestone changed from Someday/Maybe to 2.0
Priority changed from Lowest (5) to Normal (3)
on 2011-01-16 12:31 *
By Marcus Ilgner
Status changed from Accepted to Test
Status changed from Accepted to Test
Ok, here's another patch with lots of improvements and including an actual german translation by Ulf Klose (https://github.com/ulfklose).
Now it is possible to set the desired locale for each user in the preferences.
There's still some strings in application.js that I couldn't translate since those aren't processed by Rails. Looking around, I found this project https://github.com/toretore/babilu which could probably solve this issue.
Now it is possible to set the desired locale for each user in the preferences.
There's still some strings in application.js that I couldn't translate since those aren't processed by Rails. Looking around, I found this project https://github.com/toretore/babilu which could probably solve this issue.
file:czXsVwizyr4kRieJe5cbLr: More I18n for the current version
on 2011-01-16 17:05 *
By Marcus Ilgner
After going through the code once again I found another bunch of strings which have now been correctly externalized.
I have extended the german translation by Ulf to include the newly introduced keys.
The patch also introduces a locale preference so the user can set his desired locale in the preferences dialog.
I have extended the german translation by Ulf to include the newly introduced keys.
The patch also introduces a locale preference so the user can set his desired locale in the preferences dialog.
I've just installed the translate plugin from https://github.com/newsdesk/translate
start tracks in development or test mode and go to /translate to see all keys and edit on the spot!
start tracks in development or test mode and go to /translate to see all keys and edit on the spot!
on 2011-02-25 10:19 *
By lrbalt
Status changed from Test to Fixed
Work remaining changed from 2.0 to 0.0
Status changed from Test to Fixed
Work remaining changed from 2.0 to 0.0
Ive added some instructions on the wiki on how to translate tracks, see http://www.getontracks.org/wiki/Translating-Tracks
Perhaps you can enhance this howto. Closing the ticket
Perhaps you can enhance this howto. Closing the ticket