[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cti] RE: i18n (RE: MVP Discussion)
Masuoka, Ryusuke wrote this message on Tue, Apr 12, 2016 at 10:05 +0000:
> Thank you for your suggestion.
> I think it works and meets my needs.
>
> One thing I am afraid of is that it might be brittle against versioning.
> It refers to an object and it is not useful once the object gets updated
> even if the object uses the same texts.
This is why the translation should point to a specific revision of the
object... See minor modification below...
I believe I addressed this in my example that I sent a while back...
> From: cti@lists.oasis-open.org [mailto:cti@lists.oasis-open.org] On Behalf Of Jordan, Bret
> Sent: Monday, April 11, 2016 7:09 AM
> To: Masuoka, Ryusuke/益岡 竜介
> Cc: cti@lists.oasis-open.org
> Subject: [cti] Re: i18n (RE: MVP Discussion)
>
> Ryu,
>
> From your example #1, it would probably need to look something like this. This would enable a tool to:
> a) translate any text, not just certain fields
> b) allow you or anyone else to create a translation at any point in time.
>
> Please let me know if this would not meet your needs... In reading through your use-cases, which are good BTW, I believe this would address all of your points.
>
>
>
> {
> "type": "package",
> ...
> "campaigns": [
> {
> "type": "campaign",
> "id": "campaign--a1201df6-c352-4a81-9c7c-5a6f896a4e31",
> "lang": "en",
"revision": 1,
> "spec_version": "stix-2.0",
> "created_at": "2015-12-03T13:13Z",
> "created_by_ref": "identity--69a17e1b-bb45-4657-9a9d-96db3faccdde",
> "title": "Dridex Campaign - Botnet 121",
> "descriptions": "Dridex-based campaign leveraging Botnet 121",
> "intended_effects": [
> {"value": "theft-identity-theft"}
> ],
> "status": "Ongoing"
> }
> ],
> "translations": [
> {
> "type": "translation",
> "id": "translation--a1201df6-c352-4a81-9c7c-5a6f896a1111",
> "lang": "jp",
> "spec_version": "stix-2.0",
> "created_at": "2015-12-03T13:13Z",
> "created_by_ref": "identity--69a17e1b-bb45-4657-9a9d-96db3faccdde",
"translated_ref": [ "campaign--a1201df6-c352-4a81-9c7c-5a6f896a4e31", 1 ],
> "translated_text": [
> "title": "Dridex キャンペーン - ボットネット 121",
> "description": "ボットネット 121 を活用する Dridex を元にしたキャンペーン"
> ]
> },
> {
> "type": "translation",
> "id": "translation--a1201df6-c352-4a81-9c7c-5a6f896a2222",
> "lang": "de",
> "spec_version": "stix-2.0",
> "created_at": "2015-12-03T13:13Z",
> "created_by_ref": "identity--69a17e1b-bb45-4657-9a9d-96db3faccdde",
"translated_ref": [ "campaign--a1201df6-c352-4a81-9c7c-5a6f896a4e31", 1 ],
> "translated_text": [
> "title": "Some German Title",
> "description": "Some German Description"
> ]
> }
>
> ]
> ...
> }
--
John-Mark
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]