Version 7.x-1.7 modules UI call "I18nstrings (missing)" for checkbox "Custom Search Internationalization". Such a module doesn't exist!- Shouldn't it be valed: "i18n_string", submodule of i18n? - instead of "I18nstrings"?

Comments

jdanthinne’s picture

Can you try the latest dev version?
Because the Internationalization module is still in beta, I'm waiting for it to be stable before releasing a stable version of mine.

choy’s picture

the dev version seems to bey okay - the required String translation (i18n_string) is recognized

choy’s picture

BUT: trying to saving content settings this message come up:
Fatal error: Call to undefined function i18nstrings_update() in ../sites/all/modules/custom_search/modules/custom_search_i18n/custom_search_i18n.module on line 123

Jean Gionet’s picture

I'm also getting the exact same message with the latest DEV version as well.

joostvdl’s picture

sub

PGO’s picture

Is available a patch for this? Last dev version recognizes i18n_string but it still reffers to wrong i18nstrings function in code. I tried to rename the function calls but other errors appeared, so I gave up for now...

joostvdl’s picture

Is anyone looking into this issue?

jdanthinne’s picture

Well, I'm looking at this, but Internationalization has really changed a lot for Drupal 7, and is still in beta right now.
I'm looking for solutions… please wait.

joostvdl’s picture

Version: 7.x-1.7 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new26.81 KB

Patch to migrate i18nstrings to i18n_string_translate for i18n support.

joostvdl’s picture

StatusFileSize
new26.95 KB

New patch: Problem with Submit button as in #1016740: Undefined index: #type

Christopher Riley’s picture

Still gettting a warning:

Notice: Undefined index: #type in template_preprocess_search_block_form() line 1070 of the search.module

dropbydrop’s picture

please commit the patches to the module

joostvdl’s picture

@cmriley: Can you give more information? When and where does it happen? What settings do you have enabled?

jdanthinne’s picture

@dropbydrop : I'll commit when #11 is fixed.

joostvdl’s picture

StatusFileSize
new27.63 KB

Update regarding block_admin_configure function. It altered all block admin forms, not just the custom search block. This patch fixed it.

Patch does replace path #10.

jdanthinne’s picture

@cmriley : does #15 fix your problem?

Christopher Riley’s picture

No I am still seeing the warning when I hit the structure page

jdanthinne’s picture

StatusFileSize
new27.63 KB

Please try this one. I think it should work.
I've just pushed it to the DEV version as well, so it should be available tomorrow.

PGO’s picture

No more problems with instalation. Custom search labels can be translated. But unfortunatelly translation of taxonomy terms does not appear.

alalamo’s picture

Status: Needs review » Active

Iinstalled both the release i18n release and dev versions with same result with Custom Search Internationalization missing 118strings.

candelas’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev

i am installing the 6.x-1.7 and we have the same problem.
thanks for the module :)

candelas’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

sorry, i change version without wanting

jdanthinne’s picture

@TainoTechy,candelas : are you still seeing the "l18string missing" error?
I've just tried with latest customsearch DEV version and latest STABLE i18n version (7.x-1.0) and everything seems fine.

alalamo’s picture

JD I gave up on this. Right I do not absolutely need the this functionality so I have disabled those modules. However I am interested to know how it continues to go, as I will have to cross that bridge eventually. Hopefully there will be a fully working release version that can be considered for a pending production environment.

Refineo’s picture

subscribing

jdanthinne’s picture

@refineo : which versions are you using?

candelas’s picture

@jdanthinne sorry, at the end i didnt use the module because i needed to finish the site. soon i will start other site and i will have to use it. i report then. thanks for your generous work :)

Refineo’s picture

I use Drupal 7.7 + Custom Search 7.x-1.7

jdanthinne’s picture

@refineo : please try the DEV version.

Refineo’s picture

ok, I try dev version now. Fixed for me. Thank you!

"Because the Internationalization module is still in beta, I'm waiting for it to be stable before releasing a stable version of mine."
There is now Internationalization 7.x-1.0 dated 2011-Aug-21 (http://drupal.org/project/i18n).

jdanthinne’s picture

You're right.
I've just released a new stable version.

jdanthinne’s picture

@PGO : I've just pushed a new DEV version, with translation for taxonomy terms.
Please try and review.

cosmin-hm’s picture

Hello,

I have the same error, "Notice: Undefined index: #type in template_preprocess_search_block_form() (line 1070" using either 7.x-1.9 (2011-Sep-09) or 7.x-1.x-dev (2011-Sep-16).

Strangely enough, it shows in IE9, Safari 5 but not in Firefox 6.02.

Disabling "Custom Search Internationalization" helps, but I have to build a bilingual site so it's not an option.

jdanthinne’s picture

@Cosmin Hodis : can you try the latest DEV, clear the cache and tell me if the error is still there? And in this case, on which page(s)? What is the full error message?

cosmin-hm’s picture

Unfortunately, the error is still there:

"Notice: Undefined index: #type in template_preprocess_search_block_form() (line 1070 of C:\Users\Cosmin Hodis\Sites\pixelloid-advertising\modules\search\search.module)."

Last time I said that the error message doesn't show in Firefox. It actually does show in every browser, as long as I'm not logged-in. The error message appears on every page.

jdanthinne’s picture

Alright, it has to do with permissions (if you enable Custom Search permissions for Anonymous, the message disappears)…
Working on it…

jdanthinne’s picture

Status: Active » Needs review

Ok, bug fixed.
I18n submodule was processing the forms, but shouldn't be… unless user has correct permissions.

You can use this patch : http://drupalcode.org/project/custom_search.git/patch/d6e8b2c
or download next Dev.

Please test & review.

cosmin-hm’s picture

Everything is working as it should in the latest Dev. Thank you for the quick and effective patch.

jdanthinne’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

delacosta456’s picture

Title: Custom Search Internationalization not installable for: I18nstrings (missing) » common search error in core

Notice: Undefined index: #type in template_preprocess_search_block_form() (line 1070 of /Applications/MAMP/htdocs/semaphore/modules/search/search.module).

jdanthinne’s picture

@delacosta456 : Can you explain a bit? Is this related to Custom Search?

delacosta456’s picture

Hi
No it is not releated to custom search but to core search module. i m using drupal common project

jdanthinne’s picture

So why are you posting this issue here? You should do that in the core project issue list.

delacosta456’s picture

ok. sorry and thanks