Hi,

I'm showing in a calendar the products created with the Commerce module.
Everything works fine, except the language change.
I relate to the other issue (that is fixed, http://drupal.org/node/1393274 and using the same commerce_kickstart)
------------------------------
#6
Posted by aspilicious on January 4, 2012 at 2:17pm
Ok I installed the commerce kickstart module together with latest fullcalendar_dev and I get the correct results

1) Add Content: title, Content: path, and (Reference product) date as fields.
2) Go to settings, rewrite url and choose "content:path"

Thats it :)
------------------------------
The problem is that doing the step 2: rewrite url and choose "content:path" does that when changing the language of the site the all fullcalendar keeps in english (I have a two language installation).
I attach an image showing it.
(it took me a while to find out that it was this step that did the language change stopping)

CommentFileSizeAuthor
test.png43.48 KBjcir
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aspilicious’s picture

Status: Active » Postponed (maintainer needs more info)

can you be more specific:

1) An example of the current path
2) An example of the path as it should be

jcir’s picture

Hi,

I realised that maybe the issue title is wrong.
I have here the two examples of the site:

This one is changing the language of the fullcalendar properly, when it's in spanish, but the problem is that the links of the calendar are not referring to the product display but to the product, and that's not how it should be.
- link not working -

This one is not changing the language into spanish after doing in the views:
x) Settings, rewrite url and choose "content:path"
It is linking properly to the product display, but the fullcalendar language is not changing.

- link not working -

aspilicious’s picture

We just use t() to translate strings.
I don't have any experience with multi lingual site to now why t() is choosing english in stead of spanish in that case.

Second point: you'r issue reports are very very very confusing.
For example: http://147.156.150.162/cooking/es/calendar-test doesn't have any events??? o_O
How can I compare things if you give links to broken calendars.

I don't think this is a fullcalendar bug...
But I can be wrong.

aspilicious’s picture

I think I don't have any permissions to see that stuff. Did you test as an anonymous user?

jcir’s picture

Status: Closed (works as designed) » Postponed (maintainer needs more info)

oh, that's true as anonymous user it wasn't showing anything, sorry for the inconvinience.
It just shows the products, but the links refer to the products, and that's only available for admin.
I'm looking it to change it

I just changed it so that anonymous user can see it (not edit it), and now it is showing them in the -not working link- and there is the problem, I've to activtate the path to be able to see the product display (the link points to the product display) , but then the language of the calendar doesn't change

And I also saw that the other link wasn't showing either, now it is
-not working link-

sorry again...

maybe it's a Views or something with the language modules? (I'm still learning drupal basics every day...)

aspilicious’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

I think it's a views/language modules configuration problem.
I would advise you to look there, if it's a fullcalendar problem in the end I would like to now what we can do about it.

Going to close this for now.

Status: Postponed (maintainer needs more info) » Closed (works as designed)