# Class Opencart\Admin\Model\Design\Translation

`extends` | `Model`

Class Translation

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Design\Translation

Located at admin\model\design\translation.php

Methods
`public` | `addTranslation(array<string, mixed> $data): void` Add Translation Add Translation | #
`public` | `editTranslation(int $translation_id, array<string, mixed> $data): void` Edit Translation Edit Translation | #
`public` | `deleteTranslation(int $translation_id): void` Delete Translation Delete Translation | #
`public` | `deleteTranslationsByStoreId(int $store_id): void` Delete Translations By Store ID Delete Translations By Store ID | #
`public` | `deleteTranslationsByLanguageId(int $language_id): void` Delete Translations By Language ID Delete Translations By Language ID | #
`public` | `getTranslation(int $translation_id): array<string, mixed>` Get Translation Get Translation | #
`public` | `getTranslations(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Translations Get Translations | #
`public` | `getTotalTranslations(): int` Get Total Translations Get Total Translations | #

Methods inherited from Opencart\System\Engine\Model
`__construct(), __get(), __set(), __isset()`

Properties inherited from Opencart\System\Engine\Model
`$registry`

OpenCart API API documentation generated by ApiGen dev-master