Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component Localization #28

Open
thedroiddiv opened this issue Sep 2, 2024 · 4 comments
Open

Component Localization #28

thedroiddiv opened this issue Sep 2, 2024 · 4 comments
Labels
accessibility enhancement New feature or request

Comments

@thedroiddiv
Copy link
Contributor

Purpose/Description

Add support for Localization in all the components.

Proposed Approach

Any input to a component can be represented using a map of language codes to value.
For example

{
    "data":{
        "prompt": {
            "EN":"Some prompt on English",
            "HI":"Some prompt on Hindi",
            "KN":"Some prompt on Kannada"
        }
    },
    "files": {
        "EN": "some_audio_in_english.wav",
        "HI": "some_audio_in_hindi.wav",
        "KN": "some_audio_in_kannada.wav"
    }
}
@thedroiddiv
Copy link
Contributor Author

@thedroiddiv thedroiddiv added enhancement New feature or request accessibility labels Sep 2, 2024
@SoumyaRanjanPatnaik
Copy link

Does this also apply to files as well? We might need to localise audio/video as well for example.

@SoumyaRanjanPatnaik
Copy link

SoumyaRanjanPatnaik commented Sep 2, 2024

Also, what should be the ecosystem behaviour if the workers language is not available in a datapoint?

@thedroiddiv
Copy link
Contributor Author

Also, what should be the ecosystem behaviour if the workers language is not available in a datapoint?

Datapoint will contain all the language resources. We'll download resources in the app's language. Fallback to english.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants