The Movie Database 支持

i can't use my themoviedb api on Arabic,all langugae works vrey good except arabic i need help fast as posible

5 回复(第 1 页,共 1 页)

Jump to last post

@secsec said:
i can't use my themoviedb api
i can't use my themoviedb api on Arabic,all langugae works vrey good except arabic i need help fast as posible

In order for someone to help you with API Request questions, it is critical that you post here the API Request you are using.
Remember to replace your Key with THE_KEY , or something like that.

Please post 2 API Request examples:
1 in Arabic that did not work correctly
1 in another language that worked OK


EDIT
And test the 4 API Requests below:

https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&language=ar-SA&query=%D8%AC%D9%88%D9%86%20%D9%88%D9%8A%D9%83%3A%20%D8%A7%D9%84%D9%81%D8%B5%D9%84%20%D8%A7%D9%84%D8%AB%D8%A7%D9%84%D8%AB%20-%20%D8%A8%D8%A7%D8%B1%D8%A7%D8%A8%D9%8A%D9%84%D9%88%D9%85

https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&language=ar-SA&query=جون ويك%3A

https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&language=ar-SA&query=جون ويك: الفصل الثالث - بارابيلوم

https://api.themoviedb.org/3/movie/458156?api_key=THE_KEY&language=ar-SA

And tell me if it worked correctly or not.

Thanks for replying I m just a sample user and I don't code at all, what I do with the theme I have buy is copying the API and then to add a movie or series just copying and paste the number after the lien like that :

https://www.themoviedb.org/tv/111462 the code is:111462

also, I want to tell you that before like 3 months all things was good with the Arabic and everything and I m sure the problem is not from the code or mydb .... because I have tested the API with a new website with the same theme but i get every time the same problem as I tell you.

anyway, I hope you reding my msg and helping me with this problem.

Thanks for reading, Regards.

I suppose you have your own unique API Key.
Then, replace the expression THE_KEY with your API Key.
And open that URL in your browser.

https://api.themoviedb.org/3/tv/111462?api_key=THE_KEY&language=ar-SA  

And tell me if the data that matters is in Arabic.
If you don't have an API Key let me know here.

I did it and it's showing me this: https://prnt.sc/vrtkz6 I see that the date is in Arabic and also in English is everything rights?

waiting for your reply.

Apparently, yes.
What is translated into Arabic is what is usually translated.

  • Titles (series and episodes) in your country.
  • Tagline and Overview.
  • And the Genders.

So this is the data sent, by default.
If you receive in the browser, but do not receive in the APP or Theme you installed, then the problem is in the APP or Theme.
In this case only the developer or a user of the APP or Theme can solve the problem.
Compare what I get with the same API Request:

backdrop_path   "/uU23hb1c3LRqszBmBftLc2cMhbx.jpg"
created_by  
0   
id  7671
credit_id   "5fa2bfa43a9650003baf1596"
name    "Jeb Stuart"
gender  2
profile_path    null
episode_run_time    
0   50
first_air_date  "2020-11-11"
genres  
0   
id  10768
name    "حرب وسياسة"
1   
id  16
name    "رسوم متحركة"
2   
id  18
name    "دراما"
homepage    "https://www.netflix.com/title/81019775"
id  111462
in_production   false
languages   
0   "en"
last_air_date   "2020-11-11"
last_episode_to_air 
air_date    "2020-11-11"
episode_number  4
id  2473217
name    ""
overview    ""
production_code ""
season_number   1
still_path  "/ugGiwYbcU8i88NJj5j5aBO2ZhqS.jpg"
vote_average    0
vote_count  0
name    "المحرر"
next_episode_to_air null
networks    
0   
name    "Netflix"
id  213
logo_path   "/wwemzKWzjKYJFfCeiB57q3r4Bcm.png"
origin_country  ""
number_of_episodes  4
number_of_seasons   1
origin_country  
0   "US"
original_language   "en"
original_name   "The Liberator"
overview    "تتصدر فرقة من الجنود المتنوعة والمتفانية والمتعثرة غزو الحلفاء لإيطاليا خلال الحرب العالمية الثانية."
popularity  97.478
poster_path "/kivHJpsGFWgqnDMRDnnpOSgLD1s.jpg"
production_companies    
0   
id  18441
logo_path   "/rJmXT9sgCKG8uSUO1T93kOTfAzm.png"
name    "A+E Studios"
origin_country  "US"
1   
id  60746
logo_path   null
name    "Unique Features"
origin_country  "US"
production_countries    
0   
iso_3166_1  "US"
name    "United States of America"
seasons 
0   
air_date    "2020-11-11"
episode_count   4
id  165591
name    "الموسم 1"
overview    ""
poster_path "/kivHJpsGFWgqnDMRDnnpOSgLD1s.jpg"
season_number   1
spoken_languages    
0   
english_name    "English"
iso_639_1   "en"
name    "English"
status  "Ended"
tagline "لا جندي ينجو لوحده."
type    "Miniseries"
vote_average    7.5
vote_count  40

找不到电影或剧集?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)前一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区