How to customize labels "Previous page" and "Next page" on Pagination Ant Design? - antd

i'm working in project React + Ant Design. The application should be translated in many languages. I use react-i18next to perform that. However, i can't figure out how to apply my translation for labels "Previous page" and "Next page" on Pagination component. For example, for french language, i want to use "Page précédente" and "Page suivante".
Thank you in advance :)

Is This what you are looking for? The default language of is currently English. If you need to change the language you can use their Internalization. They have tons of supported languages. This provides a React Component ConfigProvider for configuring antd locale text globally.
In this example da_DK would change the language to Danish.
<ConfigProvider locale={da_DK}>
<App />
</ConfigProvider>

Related

Wikibase language links

In a custom installation of wikibase I have links to wikipedia and my wiki family. In the left sidebar the language links to the wikis in my family do not show up as desired but with their wiki prefix and the name of the page. So at the german site it shows "enimed:Main Page" instead of "english".
The desired effect is achieved when adding the wiki prefixes to $wgExtraInterlanguageLinkPrefixes
$wgExtraInterlanguageLinkPrefixes[]="enimed";
$wgExtraInterlanguageLinkPrefixes[]="deimed";
Then creating system messages for the extra language links. I have created a page "MediaWiki:Interlanguage-link-deimed" with the content "deutsch" and a page "MediaWiki:Interlanguage-link-enimed" with the content "english".
I don't know if thats the best way to go. Therefore I'll leave the question open for now.

MVC CultureInfo language-code needed for Hmong

I am working on a MVC project that will have its pages in English, Spanish, and Hmong using CultureInfo. I am unsure what language code I should use for the Hmong translations. I haven't found anything related to it other than other than hmn(ISO 639-2 Code). Should I use this or something else?
You may find Hmong to be a few different culture codes. Our plant workers use a dashboard we wrote and their version of spoken Hmong most closely resembled vi-VN . So that is the culture code we use when our Hmong workers switch their displays to their translated language.

Allowing user to enter French,Spanish and Korean language in content of Umbraco input Control

We are using Umbraco web application in English language. We need to add
French,Spanish and Korean language in our application where we should be allow user to type and add content in French,Spanish and Korean language.
Question : How we can allow user to input content in French,Spanish and Korean language . Note* : Default language of system is English.
Please help me to get out of this.
Thanks in advance.
Currently Umbraco doesn't have built in language variants - so the classic way to do it is to create language specific "sites" as described here: https://our.umbraco.com/documentation/tutorials/multilanguage-setup/
A different solution could be to use the Vorto package. Vorto wraps itself around your existing datatypes, allowing you to put in an extra "layer" so every property can have different values/settings for each language in your site.
There's a link to it here - with instructions on how to get started using it:
https://our.umbraco.com/packages/backoffice-extensions/vorto/

How to get link to translated content in ImpressPages 3.9?

I got a problem creating a multi-languages website with ImpressPages (v 3.9).
I created 3 languages in admin: French, English and German. I got many pages that I've translated into 3 languages using "generateManagedText()" function.
I've also created 3 menus as using one for each languages.
My problem is: how can I generate links to inline-translated pages?
I got a language selector generated with this line:
echo $this->generateBlock('ipLanguages');
But the link are just redirecting to each homepage.
I would like to get an easy way to show link to each translated version in all website, could you get me some advises please?
Thank you!
You cannot generate a link to inline managed elements. Only pages have links. All the links you have is from Menu management.
Each language has its own menus and they don't have any relation with other language. Which means, you may have many pages in one language and only a few in the other.

How to change TinyMCE language in Umbraco

I'm using Umbraco 4.9. I've downloaded a language pack and installed it in my Umbraco's TinyMCE. I suppose there is a tag in tinyMceConfig.config file that defines the language for richtexts, but I can't find anything. Does anyone know about that?
UPDATE:
I tried:
<config key="language">en</config>
but even the default en language option makes richtext editor disapear.
The language of the WYSIWYG text editor is controlled by the user login.
Under the user select the language you would like to use for the backend of Umbraco.
Out of the box it supports:
Danish
German
English (uk)
Spanish
French
Italian
Korean
Dutch
Norwegian
Swedish (se)
Swedish
If the language you need is not listed there, you have a couple of options. The first option is to create a whole new translation of the Umbraco backend, this involves editing Umbraco translation files etc and and is reasonable sized task.
If you just want the TinyMCE editor translated you can hack the JS so that it uses your translation file instead of the default.
To do this you need to rename a couple of JS files and update one. Basically the principal is that you replace one of the existing languages i.e. en or fr with your own.
There are instructions on how to do this on the post on our.umbraco.org
I don't recommend this approach, if you are looking for new full translation of the backend then why not reach out on the our.umbraco.org forum and see if anyone has already done the translation you are looking for or would be willing to help.

Resources