Format odpowiedzi można wskazać na dwa sposoby - za pomocą parametru zapytania? format albo przy pomocy nagłówka HTTP Accept
The reply format may be indicated in two ways - with an query parameter? format or with a HTTP Accept header
Ustalenie języka Żądany język jest określany w polu "Accept-Language" nagłówka HTTP, ale ten wybór może być zastąpiony programowo przez żądanie określonego pliku, na przykład
The requested language is determined by the "Accept-Language" field in the HTTP header, but this selection can be overwritten programmatically by requesting a specific file, for example
Jeżeli chcesz być pewny, że wszystkie teksty zwracane będą w języku polskim, wysyłaj z każdym żądaniem nagłówek: Accept-Language: pl-PL Statusy HTTP
If you want to be sure that all the texts will be returned in Polish, send the following header with each request: Accept-Language: pl-PL
Wewnątrz każdej głównej wersji (i w związku z tym w każdym odpowiadającym jej module), użyj nagłówka HTTP Accept, aby określić pomniejszy numer wersji i napisz warunkowy kod odpowiadający temu numerowi.
Within each major version (and thus within the corresponding module), use the Accept HTTP request header to determine the minor version number and write conditional code to respond to the minor versions accordingly.
Negocjacja języka jest funkcją protokołu HTTP, która pozwala serwerowi wybrać spośród kilku wersji językowych strony w oparciu o adres URL i informacje o preferencjach wysyłanych przez przeglądarkę (ściślej, informacje w nagłówku Accept-Language).
Language negotiation is a function of the HTTP protocol which lets a server choose among several language versions of a page, based on the URL and on preference information sent by the browser (specifically in the Accept-Language header).
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "HTTP Accept-Language" in Polish