• Resolved francoc30

    (@francoc30)


    Hi,
    I am new to TranlatePress. I am building a web site with WordPress language setting as English. My contents are mainly in Chinese (HK) with some English text. I want to translate all theme text strings, other plugin text strings and blog contents to Chinese. I am not sure which language I should set as default. If I select English, how would TranslatePress deals with the Chinese contents that are already there?

    After the web site completely translated, if WordPress and other plugins are updated, what happen with the translations? Would it disappear? What will be the process in keeping the translation updated?

    Does TranslatePress uses po/mo files?

    I come across that TranslatePress use of subdirectory. I don’t quite understand what it means and its function. Can you enlighten me on it.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Dragos

    (@dragosvrejiu)

    Hello,

    Thank you for your interest in our plugin!

    Could you please provide more details?

    I’m not sure that I understand correctly what you are trying to achieve.

    Do you want to have only one language on your website?(e.g. only Chinese)

    TranslatePress offers the framework you need to make your site multilingual.

    >After the web site completely translated, if WordPress and other plugins are updated, what happen with the translations? Would it disappear? What will be the process in keeping the translation updated?

    Your translations are saved into the wp_trp* tables from the database.

    Deleting or updating the plugin won’t erase them.

    >Does TranslatePress uses po/mo files?

    If you need to upload .mo files for translating information that’s not presented in the front-end of the website (where TranslatePress isn’t of much use) I suggest you use LocoTranslate plugin for that untill we offer this later this year.

    >I come across that TranslatePress use of subdirectory. I don’t quite understand what it means and its function. Can you enlighten me on it.

    Select Yes if you want to add the language slug in the url for the default language. Example https://www.myhomepage.com/en/ instead of https://www.myhomepage.com when visitors are viewing the site on its default language.

    By selecting Yes, the default language seen by website visitors will become the first one in the “All Languages” list. This means that you can make one of the translated languages be the language to display when visitors access your website without language encoding in the url ( such as https://www.myhomepage.com, without /en/ for example ).

    Please let me know if you have any more questions!

    With the best regards,

    Thread Starter francoc30

    (@francoc30)

    @dragosvrejiu, thanks for your response. Here is my situation:
    1) My web contents are mostly in Chinese and I need to translate them into English.
    2) My theme and other plugins are in English. I need to translate the front end strings (field labels and message text) into Chinese.
    3) Essentially, my site would be a bilingual site, English and Hong Kong Chinese.

    My first question is which language I should set as default under my stated scenario? i.e. translating Chinese to English and at the same time translating English into Chinese.

    < Deleting or updating the plugin won’t erase them. >
    Good to know. What about WordPress update? Will there ba any impact?
    Also is the translation global? If a string “Hello” at one instant in my theme is translated, would the translation apply to another instant in the theme?
    Would the translation apply to the same string “Hello” from another plugin?

    < If you need to upload .mo files for translating information that’s not presented in the front-end of the website >
    This should be fine in my case. I just need to translate/display the front end text in either English or Chinese. Its good to know TRP will be providing a new translation feature. What is the ETA?

    < Select Yes if you want to add the language slug in the url for the default language >
    Yes this feature is good and I can see the impact of setting the proper default language. But I don’t see the relationship between this and “subdirectory” I enquired.

    WordPress just released 5.4. Will TRP work with the new version?

    Thanks.

    Dragos

    (@dragosvrejiu)

    Hello,

    You wouldn’t be able to translate the English content from the Chinese version of the page.

    The only solution is to translate the English strings from your page into Chinese then set Chinese as the default language and English as secondary.

    < Deleting or updating the plugin won’t erase them. >
    Good to know. What about WordPress update? Will there ba any impact?

    No, WordPress updates won’t have any impact on them.

    >Also is the translation global? If a string “Hello” at one instant in my theme is translated, would the translation apply to another instant in the theme?
    Would the translation apply to the same string “Hello” from another plugin?

    Yes, the translation will apply everywhere the string is found.
    This is the way our plugin works(string by string translation).

    > Its good to know TRP will be providing a new translation feature. What is the ETA?

    This feature should be available later this year.

    As we have not estabilished an ETA , I can’t provide a more accurate timeframe.

    TranslatePress should present no conflict with any theme / plugin from the ecosystem, so the WordPress update shouldn’t interfere with it’s functionalities.

    In the rare occasions when conflicts do arise, they are treated as bugs and fixed as soon as possible.

    With the best regards,

    Thread Starter francoc30

    (@francoc30)

    Ok, thank for all the answer. Look promising.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Default language and continue use of TRP’ is closed to new replies.