Hi people,
Today I bring you this module, is an updated version that the one created by Maximus Marius.
The improvements are listed below:
* Re-written code following the elgg module estructure for greater flexibility.
* More intuitive system for the translating editor.
* Backup system for the current translations files.
* Direct replacement of the translation files, prior to the backup (remember the privileges for the module translations folder)
* Icons to get a better understanding.
* It allows to generate a file.php or makes the translation internally.
Instruction:
1. Download plugin
2. Put it in directory ELGG_ROOT/mod
3. Enable it in "Tool Administration"
4. Check permission to directory ELGG_ROOT/mod/translationbrowser/data
5. Open "Translation Browser" as admin
6. Select "Language"
7. Select module to edit
8. Save
Screenshots:
I hope you guys find this useful and any feedback is very welcome!
Regards
View Pedro Prez's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
I think the instructions are misleading ... especially number 4 ...
" 4. Check permission to directory ELGG_ROOT/mod/translationbrowser/data"
It is the language file of each plugin that needs access permissions, when the plugin is being translated.
For the benefit of others, here is an example of how to update a language plugin, in this case dutch, using the 'generate php' feature so you do not need to change file permissions:
Using 'generate php file' in 'translation browser' ...
Example: making a dutch translation of 'everybody'...
admin>translation browser>select language (dutch)>everybody>translate
Select 'generate php file'
Enter translated words in 'everybody' section.
Select 'translate'.
Save the (nl.php) file as 'nl.everybody.php'
put 'nl.everybody.php' into mod>dutch_translation>lanuguages.
I think a 'read me' and better instructions here, might be a good idea
http://elgg.seo4you.pl/translationbrowser.zip
It is updated version of plugin,
changelog:
Hi Pedro and Maximus,
I'm still having problem with the plugin, but I discovered that it only occurs on my account on Dreamhost. I've made a local installation of Elgg and don't have any problems.
Do you have any idea about what is happening specifically with Dreamhost?
Best regards,
Frederico
Hi again,
Found the problem. It's on the function "translationbrowser_scandir". In fact it's on the Dreamhost instructions for configurations. They instruct us to use the "/home/username/application" when application path is asked. But the filesystem returns (at least on my account) "/home/.swale/username/application". So, when the instruction: $len_dir= strlen($CONFIG->path); was calculating the wrong length to be ignored and the resultant path was a mess.
I adjust the configuration of Elgg (adding the .swale) and now everything is fine. So, here's the alert to Dreamhost users.
Best regards.
Thk u Pedro. For me is fantastic.
But I've only a little problem: I cant translation internally (I check my right and all is code 777) - I dont know why. So I've to save in php and upload with FTP.
I've got a translation question that has more to do with the verb syntax than translating words. Even after I translate the bits and pieces separately, I am still getting sentences in Spanish that read as follows:
"Bob ha dejado un mensaje en John's tablon de anuncios."
This is English structure, but I can't find where to change it for Spanish... Does what I said make any sense?
Thanks for your help. Great plugin, btw...
I tested it and works very well. It´s a fantastic plugin, that helped me a lot.
Thk u Pedro
hi,
the translationbrowser doesnt work on my site. i've tested in firefox and google chrome.
the translationbrowser doesnt save the modifications i made. all important files and folders have chmod 777.
thanks, frank
Hello, everybody.
Maximus, how do your users have access to the plugin ?
hi,
it seems that the translationbrowser doesnt work with elgg 1.6.
i tried to translate, but when i choose the language and plugin i want to translate and then click on "translate" the browser stopped by http://localhost/elgg/action/translationbrowser/get_text
nothing happens =(
Please see updated version of this plugin
http://community.elgg.org/pg/plugins/mabdelkader/read/270142/translation-browser-v30-improvements-optimizations-and-bug-fixes
New versions
http://community.elgg.org/pg/plugins/project/646343/developer/rcerceau/elgg-18-elgg-17-brazilian-portuguese-ptbr-translate-to-elgg-175-see-version-10-elgg-1711-see-version-1711
Or
http://community.elgg.org/pg/plugins/project/646451/developer/rcerceau/1711-and-18b1-brazilian-portuguese-language-and-improved-translationbrowser-plugin-elgg-18-and-elgg-17
Or
Elgg 1.7.5 - use version 3.1 plugin
Elgg 1.7.11 - use version 3.2 plugin
Elgg 1.8b1 - use version 4.0 plugin