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

translation for Demo Model Page #912

Closed

Conversation

itsdheerajdp
Copy link
Collaborator

@itsdheerajdp itsdheerajdp commented Mar 12, 2024

Summary:

Now Our [Select Demo Model] Page is integrated with i18n and its content is available for other languages also as shown below.

Screenshot 2024-03-12 154903

Screenshot 2024-03-12 154913

Screenshot 2024-03-12 154936

Screenshot 2024-03-12 161742

Description for the changelog:
translation for Demo Model Page

Other info:
Fixes : #902

@itsdheerajdp
Copy link
Collaborator Author

@jgadsden what do you say about this?

@jgadsden jgadsden changed the title Fix:Demo Model Page translation for Demo Model Page Mar 13, 2024
@jgadsden jgadsden added enhancement New feature or request version-2.3 labels Mar 13, 2024
@itsdheerajdp
Copy link
Collaborator Author

itsdheerajdp commented Mar 18, 2024

@jgadsden can i get your review on this ?

td.vue/src/i18n/ar.js Show resolved Hide resolved
@@ -47,7 +47,12 @@ const ara = {
}
},
demo: {
select: 'حدد نموذج تهديد تجريبي من القائمة أدناه'
select: 'حدد نموذج تهديد تجريبي من القائمة أدناه',
"New Threat Model": "نموذج تهديد جديد",
Copy link
Collaborator

@jgadsden jgadsden Mar 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the names are not ideal, such as "New Threat Model", and should be renamed to something more in keeping with the rest of the attribute naming

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the names are not ideal, such as "New Threat Model", and should be renamed to something more in keeping with the rest of the attribute naming

Actually I gave such names because , these names i am getting in the front end page (SelectDemoModel.vue) as {{model.name}} from the backend
if you want i can change through the backend or you can suggest any other better solution ??

@jgadsden jgadsden marked this pull request as draft March 19, 2024 08:37
@itsdheerajdp
Copy link
Collaborator Author

@jgadsden I did translation in each files with the help of google translate and cross checked them with other translation software.

Screenshot 2024-03-19 185744

however if you want , i will change only in the languages in which i am native?

Copy link

This PR is stale because it has been open 21 days with no activity. Remove stale label, or add a comment, otherwise it will be closed in 7 days.

@github-actions github-actions bot added the Stale label Apr 10, 2024
@jgadsden
Copy link
Collaborator

@itsdheerajdp could you consider this patch that will provide consistent attribute names and translate the strings only if we are fluent in the language (otherwise it could go wrong with Google translate):

pr912.patch

@github-actions github-actions bot removed the Stale label Apr 14, 2024
@itsdheerajdp
Copy link
Collaborator Author

@itsdheerajdp could you consider this patch that will provide consistent attribute names and translate the strings only if we are fluent in the language (otherwise it could go wrong with Google translate):

pr912.patch

Sure I'll do it

Copy link

github-actions bot commented May 7, 2024

This PR is stale because it has been open 21 days with no activity. Remove stale label, or add a comment, otherwise it will be closed in 7 days.

@github-actions github-actions bot added the Stale label May 7, 2024
Copy link

This PR was closed because it has been stalled for 28 days with no activity.

@github-actions github-actions bot closed this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide translation for Demo Model Page
2 participants