Skip to content

Translations for each value per custom dimension  #3

@sf-alk

Description

@sf-alk

Hi together!
At this time, i can only change all custom dimension values with one translation like:

{"0": "Zero","1": "One","2": "Two","3": "Three"}

But i will need for each custom dimension a special translation something like this:

{
	"my_custom_dimension_name1": [
		{
			"0": "Zero",
			"1": "One",
			"2": "Two",
			"3": "Three"
		}
	],
	"my_custom_dimension_name2": [
		{
			"0": "A",
			"1": "B",
			"2": "C",
			"3": "D"
		}
	]
}

Or a mix of both. General translations for all custom dimensions and special custom dimensions like:

{
	"my_custom_dimenension_name1": [
		{
			"0": "Zero",
			"1": "One",
			"2": "Two",
			"3": "Three"
		}
	],
	"my_custom_dimenension_name2": [
		{
			"0": "A",
			"1": "B",
			"2": "C",
			"3": "D"
		}
	],
	"0": "General 0",
	"1": "General 1",
	"2": "General 2",
	"3": "General 3"
}

Is it possible to extend the plugin "CustomTranslations"?
Thank you very much!

Greetings!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions