Closed Bug 558729 Opened 14 years ago Closed 14 years ago

Associate languages with products, not locations

Categories

(Webtools :: Bouncer, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wenzel, Assigned: wenzel)

References

Details

Languages should be valid per product, not per location. Probably need to slightly denormalize this, we don't want a separate languages table as the language list comes from product-details.

Locations should have a placeholder %LANG% that the respective language code is filled into when generating the final download URL.
Priority: -- → P1
Blocks: 550510
Depends on: 558731
Blocks: 558732
Okay, placeholder syntax is going to be ":lang" minus the quotes.

I also decided to go for some more assumptions: If there are no entries in the language table for a given product, that means the product is available in all languages, OR the concept of language is not applicable. That'll save us another few thousand DB entries.
The tuxedo part is done: http://github.com/fwenzel/tuxedo/commit/cc82b898d398526f114c0c0b60f32b04386563a6

Sentry and Bouncer to follow.
That's fixed and live in production.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.