Advertisement:

Author Topic: Osclass " Country Name " Translation / How To Show in Language  (Read 1157 times)

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Osclass " Country Name " Translation / How To Show in Language
« on: September 07, 2017, 09:20:38 am »
Osclass " Country Name " Translation / How To Show in Language;

I use Turkish language, on ads page everything looks Turkish language except " country name " under Location > City > Country
Please see secreenshoot, and advice how to show country name also as Turkish.

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #1 on: September 07, 2017, 01:57:26 pm »
open your .po language file and mention that country name like that :

msgid "turkey"
msgstr "Türkiye"

end of the theme.po  file.

then it will change .

I hope it will solve your problem

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #2 on: September 07, 2017, 02:13:22 pm »
thank you, where is exact path of po.file?
oc-content\languages\tr_TR or?
I have checked theme.po under " oc-content\languages\tr_TR\theme.po "  but I can not see / find " msgid "turkey"

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #3 on: September 07, 2017, 03:30:21 pm »
thank you, where is exact path of po.file?
oc-content\languages\tr_TR or?
I have checked theme.po under " oc-content\languages\tr_TR\theme.po "  but I can not see / find " msgid "turkey"

Hi,

msgid "turkey"
msgstr "Türkiye"

in oc-content\languages\tr_TR\theme.po

above code is not already mention in your file. when you will open your .po file then mention these line in the bottom of .po then it will translate.

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #4 on: September 07, 2017, 03:44:09 pm »
I opened theme.po file into NOTEPAD++ , have already done this and bottom of file shown like this as given below;

#: user-sidebar.php:29
msgid "Are you sure you want to delete your account?"
msgstr "Hesabınızı silmek istediğinizden emin misiniz?"

msgid "bender"
msgstr "bender"

msgid "turkey"
msgstr "Türkiye"

I have saved file and reloaded server, nothing changes, I see still " Turkey " as country..
I have attached my theme.po file ( secreen shoot of bottom ), can you check what is wrong?

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #5 on: September 07, 2017, 03:49:12 pm »
can you upload your .po file here ?

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #6 on: September 07, 2017, 03:50:36 pm »
no permission to load for .po file here

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #7 on: September 07, 2017, 03:51:46 pm »
I have loaded whole language folder as zip

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #8 on: September 07, 2017, 03:56:28 pm »
not this file,

please provide your theme language file :

/oc-content/themes/YOUR_THEME_NAME/languages/tr_TR/theme.po

this .po file

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #9 on: September 07, 2017, 04:09:05 pm »
under this path no tr_TR/theme.po, only English one...
in this case I should create tr_TR/theme.po my self and translate it? correct?

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #10 on: September 07, 2017, 04:11:39 pm »
yes correct. but after create .po then generate your theme.mo  from poedit software. but if you have not then you will use from online .

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #11 on: September 07, 2017, 04:21:33 pm »
I have tried it, I have also created new mo file via https://po2mo.net,
I have loaded on server, it is not chnaging, still " Turkey " I see.

I have added files as zip, can you check for me pls?
thanks

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #12 on: September 07, 2017, 04:28:05 pm »
whats your theme name ?

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #13 on: September 07, 2017, 04:29:31 pm »
bender

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Osclass " Country Name " Translation / How To Show in Language
« Reply #14 on: September 07, 2017, 04:34:50 pm »
Now upload this language folder in your theme folder but before that please rename your original language folder name then you will upload and change it.