syntax = "proto3";

package wix.devcenter.apps.translations.v1;
option java_package = "com.wixpress.devcenter.apps.translations.v1";

import "google/protobuf/wrappers.proto";
import "wix/api/validations.proto";
import "wix/api/entity.proto";
import "google/protobuf/timestamp.proto";

/**
  AppTranslation is the main entity of AppTranslations that can be used for lorem ipsum dolor
 */
message AppTranslation {
  option (.wix.api.entity) = {
    fqdn: "wix.devcenter.apps.v1.app_translation"
    segment: USERS
    app_def_id: "d5cb607c-61a1-41a3-8300-c0ee8115a70d"
  };
  string id = 1 [(.wix.api.format) = GUID]; // App Id of the translation
  string language_code = 2 [(.wix.api.maxLength) = 4]; // language code, as seen in app market
  bool components_translation_activated = 3 [deprecated = true]; // if yes - components translation will be available from next publish. if not - components will be available only in "en"
  bool market_translation_activated = 4; // if yes - market data translation will be available from next publish. if not - market data will be available only in "en"
}
