Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
5 Jul 2013 at 09:16 UTC
Updated:
20 Oct 2013 at 04:24 UTC
When you have untranslated content, the language switcher is showing a lined-through link to the languages, that are untranslated. That makes it impossible for users to switch the site-language to a different one on untranslated pages.
No more! Language Switcher Settings lets you specify a fallback link for untranslated pages.
Project-page: https://drupal.org/sandbox/rbf/2035401
git clone http://git.drupal.org/sandbox/rbf/2035401.git locale_language_switcher_settings
Drupal 7 only at this time!
| Comment | File | Size | Author |
|---|---|---|---|
| lang-switcher.jpg | 168.06 KB | quotientix |
Comments
Comment #1
ayesh commentedHi Benjamin,
Thank you for your project application.
Please correct the errors reported in this page: http://ventral.org/pareview/httpgitdrupalorgsandboxrbf2035401git
Some other points
- Why do you want to delete a specific entry from system table during hook_uninstall ?
- the current hook_uninstall implementation does not remove variables from the 'variable' table with pattern
language_switcher_settings_*.Please add db_query to delete the variables during an uninstallation.
- In language_switcher_settings.admin.inc, line 27, you can remove the em tags and use the
%placeholder to add the em tags.- Can we also validate the destination page when the admin form is submitted ?
I could not install the module yet. But I'll definitely write a better review when we get the ventral stuff done :)
Good luck!
Comment #2
quotientix commentedThank you Ayesh, for taking the time to be reviewing the project.
I changed the points corresponding to your comment. Please have a look!
Comment #3
x7ian commentedNice, simple, very strait forward module.
I've tested it and it works just fine.
However there are still some standards issues that must be fixed before it gets approved:
1. There are still issues on the PAReview.sh automatic review here http://ventral.org/pareview/httpgitdrupalorgsandboxrbf2035401git
2. create a major version branch and remove the master branch, like explained in this post:
https://drupal.org/empty-git-master
3. In the README.txt file, lines should have less that 80 characters.
4. At language_switcher_settings.module, on lines 32 and 33 should use t() function.
When you fix this issues don't change status to 'fixed' yet. Set it to 'Needs review', so other users review your module and comment if they find other issues.
Comment #4
quotientix commentedThanks x7ian, I'm checking the issues in the next couple of days and will then set the status to "Needs review". Looking forward to my first release :)
Comment #5
quotientix commentedx7ian, thanks for taking the time. I just pushed the new version:
Comment #6
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #7
ram4nd commentedThere is a module called https://drupal.org/project/language_switcher_fallback
Why not create a patch for that? At-least mention it in similar modules.
Comment #8
quotientix commentedHi ram4nd, I just added your module to the description of mine. In core the implementations are quite different in our modules, so a patch for yours would be pretty complex. I appreciated it, if you could name my module as well on your project-page, once it got approved :) Cheers!
Comment #9
ram4nd commentedPatch for mine would be admin page, and change of one line in my code. Not complex.
Review checklist states:
1.2 Ensure your project is not a duplication.
You should really spend some time searching for modules which provide similar functionality. As we prefer collaboration over competition we want to prevent having duplicating modules on drupal.org. If the differences between your module is not too fundamental for patching an existing one, we would love to see you joining forces and concentrate all power on enhancing one module. (If the existing module is abandoned, please think about taking it over).
Also if you want your project to be reviewed, you really need to consider the review bonus.
Comment #10
x7ian commented1. Yes man, there still seems to be some issues here: http://ventral.org/pareview/httpgitdrupalorgsandboxrbf2035401git
2. So now you have a 7.x-1.x branch.
Now you have to delete the master branch.
Here: https://drupal.org/empty-git-master
at item 6. there is the command for deleting master branch:
Module working good!
Comment #11
0mni commentedAll the issues above appear to not be fixed, as well it appears to be a duplicate. Not saying anything new that hasn't been said, just changing Status to "needs work" as they have not been addressed.
Comment #12
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.