Lines Matching full:intl
113 intlString = 'intl/'
121 from an intl/<lang>/... directory or fall through to the default language.
146 # Do some prep for handling intl requests. Parse the url and validate
147 # the intl/lang substring, extract the url lang code (urlLangName) and the
148 # the uri that follows the intl/lang substring(contentUri)
150 isIntl = len(sections) > 2 and (sections[0] == "intl")
160 # intl/nn substring. It will later be redirected to
162 # logging.info(' Handling a MISMATCHED intl request')
167 #logging.info('INTL PREP resetting langName to urlLangName [%s]', langName)
169 # logging.info('INTL PREP no need to reset langName')
195 # in the intl/lang tree. Before going to 404, see if there is an
201 # handle the case where we need to pass through an invalid intl req
203 # because intl urls are passed through clean and retried in English,
205 # logging.info(' Handling an invalid intl request...')
209 # handle the case where we have a non-clean url (usually a non-intl
211 # that is set. Prepend an intl/lang string to the request url and
228 mirror redirects for non-intl requests.
232 This should NOT contain an intl-prefix, if otherwise present.
234 isIntl: True if contentUri originally contained an intl prefix.
250 # If this is an international URL, prepend intl path to minimize
276 should be computed. No special handling of intl URIs is pefromed
386 """Redirect an incoming request to the appropriate intl uri.
388 For non-en langName, builds the intl/lang string from a
391 redirects a stripped uri string (intl/nn removed).
413 For intl requests that are not found (in the localized tree),
420 for an intl (localized) url, also resets the language cookie
452 # couldn't find the intl doc. Try to fall through to English.