Closed
Bug 872802
Opened 13 years ago
Closed 12 years ago
Legal documents should support L10n
Categories
(Marketplace Graveyard :: Consumer Pages, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-07-04
People
(Reporter: clouserw, Assigned: basta)
References
Details
While filing bug 872799 and bug 872801 I noticed the legal docs don't indicate any language in their URLs or on disk. I don't expect them to ever live in our .po files, but we will need to support translations of them. We should put 'en' in the URL of the English documents for now and do any other preperation for localized docs that we need to.
P3 because we don't have the localized docs yet, but they have been shipped out to be translated already.
| Reporter | ||
Updated•12 years ago
|
Priority: P3 → P2
| Assignee | ||
Comment 2•12 years ago
|
||
Perhaps we should create an API for this? The privacy policy + ToU add about 10k to our JS bundle. That's 10K per language that we'll be adding, possibly more.
| Reporter | ||
Comment 3•12 years ago
|
||
(In reply to Matt Basta [:basta] from comment #2)
> Perhaps we should create an API for this? The privacy policy + ToU add about
> 10k to our JS bundle. That's 10K per language that we'll be adding, possibly
> more.
I'm ok with keeping this server side. Whether it's an API or just a flat file makes no difference to me either. We just had the API triage though and I'd rather not have it sit for another week since it's a P2 and we've got the translations delivered
| Assignee | ||
Comment 4•12 years ago
|
||
Since it's just static content, I think we can just put it in the /media directory and be fine. I talked this over with cvan and even he wasn't too grumpy about my design (!).
Can you get the translations in a ZIP for me? I can get them taken care of.
| Reporter | ||
Comment 5•12 years ago
|
||
(In reply to Matt Basta [:basta] from comment #4)
> Since it's just static content, I think we can just put it in the /media
> directory and be fine. I talked this over with cvan and even he wasn't too
> grumpy about my design (!).
>
> Can you get the translations in a ZIP for me? I can get them taken care of.
Looks like ToS is still waiting on legal in bug 855551.
| Reporter | ||
Updated•12 years ago
|
Assignee: nobody → mattbasta
| Assignee | ||
Comment 6•12 years ago
|
||
https://github.com/mozilla/fireplace/commit/3060665adb9de5ab94c5a0542696c20133e1354e
Steps to QA:
1. Visit the ToS/Privacy Policy
2. Open your web console
3. Look for a "GETting https://somethingsomethingcdn/media/docs/privacy/en-US.html"
How to add translations:
1. Convert the translations to HTML
2. Put them in zamboni's /media/docs/(privacy|terms)/ directory where the name is "<lang>.html". <lang> should be the locale code of the language as it's used by the localizers.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-07-04
Comment 7•12 years ago
|
||
(In reply to Matt Basta [:basta] from comment #6)
> https://github.com/mozilla/fireplace/commit/
> 3060665adb9de5ab94c5a0542696c20133e1354e
>
> Steps to QA:
> 1. Visit the ToS/Privacy Policy
> 2. Open your web console
> 3. Look for a "GETting
> https://somethingsomethingcdn/media/docs/privacy/en-US.html"
>
> How to add translations:
> 1. Convert the translations to HTML
> 2. Put them in zamboni's /media/docs/(privacy|terms)/ directory where the
> name is "<lang>.html". <lang> should be the locale code of the language as
> it's used by the localizers.
I can see this line in console : http://screencast.com/t/uw5JzPKPfV , can I mark the bug as verified based on this test?
| Reporter | ||
Comment 8•12 years ago
|
||
There are a lot of dependent bugs which will verify this for free, fwiw.
| Reporter | ||
Comment 9•12 years ago
|
||
Matt: can you link to the directory where I need to put the localized docs?
| Assignee | ||
Comment 10•12 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•